Repository navigation
fix: 账号跨供应商路由切换失败 - #582
Merged
caigee-cmd merged 9 commits intoNov 23, 2026
Merged
Conversation
This was referenced Nov 23, 2026
Merged
Closed
Rebuilt on current main. Migration is 031 (030 is reserved by the pending key aggregation PR). Display reasoning levels stay catalog-driven instead of merging the full gateway set, and local-only audit/vite changes are dropped. Changelog now notes probe quota cost and the priority-order default.
Add account_id to aggregation members end to end: schema migration, store, console API, model pool editor, and matching. Legacy members without account_id keep provider-wide pool behavior.
Expose least-quota-first and most-quota-first for model pools and global routing, with normalized strategy loading and candidate counting aligned to the selected strategy.
guyu233
force-pushed
the
fix/account-routing-failover
branch
from
November 23, 2026 10:37
d1a1c93 to
4760801
Compare
guyu233
force-pushed
the
fix/account-routing-failover
branch
from
November 23, 2026 10:46
4760801 to
8eb3feb
Compare
…ation Release the implicit region latch only on cross-provider routes, preserve the retry budget after the first pick, give each priority tier its own budget, and apply account aliases in the worker path. Provider-scoped Qoder routes keep their region isolation.
guyu233
force-pushed
the
fix/account-routing-failover
branch
from
November 23, 2026 10:53
8eb3feb to
b38b48e
Compare
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
本 PR
修复账号路由切换失败的根因:
lastRegion永久锁在一个 region;失败后可以跨 provider/region failover。attempts,避免该 region 只有 1 个账号时后续额度错误一次 failover 都没有。least-quota-first/most-quota-first平局时按lastPicked游标轮换,不再固定最小账号 ID。依赖
堆叠在聚合基线 #581 之上;请先合并 #581。
上线门槛
必须所有 required checks 通过后才能合并和上线;任何检查失败都不得上线。
需要全部通过:
go、windows-host、worker、frontend、container、secrets。本地验证
go build ./...通过