Repository navigation
feat: 跨供应商模型聚合与账号级 deployment - #581
Merged
caigee-cmd merged 7 commits intoNov 23, 2026
Merged
Conversation
This was referenced Nov 23, 2026
Merged
Merged
Closed
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
feat/model-pools-account-deployments
branch
from
November 23, 2026 10:37
71ae57e to
8d331e8
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
跨供应商模型聚合的新的干净基线,包含:
account_id:成员可固定到一个具体账号/deployment,而不是默认在该供应商下扇出到所有账号;旧配置不填account_id时保持原有 provider/region 池行为。/v1/models能力合并同步支持account_id。priority、round-robin、fill-first、fefo、least-quota-first、most-quota-first。与前序 PR 的关系
本 PR 是新的聚合基线。账号路由 failover、缓存亲和、CC Switch 对齐 PR 堆叠在它之上;请按依赖顺序合并。
上线门槛
必须所有 required checks 通过后才能合并和上线;任何检查失败都不得上线。
需要全部通过:
go、windows-host、worker、frontend、container、secrets。本地验证
go build ./...通过