pi-model-auto-router: 0.4.0 — 账号级 400 故障转移 + 单目标重试 #11
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
weisanju/pi-plugins!11
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "agent/coding-agent-qoder-default/93efc30f3bea"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Access to Anthropic models is not allowed for this account.、"thinking.type.enabled" is not supported for this model等 target 级错误不再落入 fatal 终止整条路由,而是 failover 到下一目标 + 12h 长冷却(可配);failover 日志记录class/命中marker/cooldownMs;target 支持enabled: false临时绕过retry.perTargetRetries(默认 0 保持现状)与retry.perTargetBackoffMs(默认 1500ms,翻倍,上限沿用backoffMaxMs),瞬态错误(如 429)failover 前先在原目标上重试;状态行新增target-retry状态;TUI ⚙️ 重试与冷却设置新增两项Test plan
classifyFailure对两条 400 消息返回非 fatal(config)+ marker 命中 + 大小写不敏感;perTargetBackoffDelay翻倍/封顶/默认值class=config marker=... cooldownMs=43200000,冷却期内不再选中tsc --noEmit与bun test30/30 通过,dist 已重建