mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
fix: 更新factory user-agent
This commit is contained in:
@@ -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'
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user