mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-21 14:07:20 +08:00
Update packages/opencode/src/session/retry.ts
This commit is contained in:
@@ -68,7 +68,7 @@ export namespace SessionRetry {
|
||||
// kilocode_change end
|
||||
if (!error.data.isRetryable) return undefined
|
||||
if (error.data.responseBody?.includes("FreeUsageLimitError"))
|
||||
return `Free usage exceeded, add credits https://kilo.ai/zen` // kilocode_change
|
||||
return `Free usage exceeded, add credits https://app.kilo.ai` // kilocode_change
|
||||
return error.data.message.includes("Overloaded") ? "Provider is overloaded" : error.data.message
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user