fix: 更新factory user-agent

This commit is contained in:
shaw
2025-10-15 15:26:58 +08:00
parent d72897f835
commit c2669da4b3
2 changed files with 2 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ class DroidRelayService {
openai: '/o/v1/responses'
}
this.userAgent = 'factory-cli/0.19.4'
this.userAgent = 'factory-cli/0.19.12'
this.systemPrompt = SYSTEM_PROMPT
this.API_KEY_STICKY_PREFIX = 'droid_api_key'
}

View File

@@ -196,9 +196,7 @@ class DroidScheduler {
const selected = sorted[0]
if (!selected) {
throw new Error(
`No schedulable account available after sorting (${normalizedEndpoint})`
)
throw new Error(`No schedulable account available after sorting (${normalizedEndpoint})`)
}
if (stickyKey && !isDedicatedBinding) {