chore: format code

thinking-toggle-wip
GitHub Action 2025-12-14 17:46:46 +00:00 committed by Aiden Cline
parent 62bcdf3144
commit 5b7581ebbe
1 changed files with 4 additions and 1 deletions

View File

@ -71,7 +71,10 @@ export namespace SessionRetry {
if (json.type === "error" && json.error?.code?.includes("rate_limit")) {
return "Rate Limited"
}
if (json.error?.message?.includes("no_kv_space") || (json.type === "error" && json.error?.type === "server_error")) {
if (
json.error?.message?.includes("no_kv_space") ||
(json.type === "error" && json.error?.type === "server_error")
) {
return "Provider Server Error"
}
} catch {}