mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-23 14:45:46 +00:00
fix(failover): remove redundant ZenMux 402 guard
This commit is contained in:
@@ -188,6 +188,7 @@ Docs: https://docs.openclaw.ai
|
||||
- Status/context windows: normalize provider-qualified override cache keys so `/status` resolves the active provider's configured context window even when `models.providers` keys use mixed case or surrounding whitespace. (#36389) Thanks @haoruilee.
|
||||
- ACP/main session aliases: canonicalize `main` before ACP session lookup so restarted ACP main sessions rehydrate instead of failing closed with `Session is not ACP-enabled: main`. (#43285, fixes #25692)
|
||||
- Agents/embedded runner: recover canonical allowlisted tool names from malformed `toolCallId` and malformed non-blank tool-name variants before dispatch, while failing closed on ambiguous matches. (#34485) thanks @yuweuii.
|
||||
- Agents/failover: classify ZenMux quota-refresh `402` responses as `rate_limit` so model fallback retries continue instead of stopping on a temporary subscription window. (#43917) thanks @bwjoke.
|
||||
|
||||
## 2026.3.8
|
||||
|
||||
|
||||
@@ -300,7 +300,6 @@ function hasRetryable402TransientSignal(text: string): boolean {
|
||||
const hasSpendLimit = text.includes("spend limit") || text.includes("spending limit");
|
||||
const hasScopedHint = includesAnyHint(text, RETRYABLE_402_SCOPED_HINTS);
|
||||
return (
|
||||
hasQuotaRefreshWindowSignal(text) ||
|
||||
(includesAnyHint(text, RETRYABLE_402_RETRY_HINTS) &&
|
||||
includesAnyHint(text, RETRYABLE_402_LIMIT_HINTS)) ||
|
||||
(hasPeriodicHint && (text.includes("usage limit") || hasSpendLimit)) ||
|
||||
|
||||
Reference in New Issue
Block a user