Repository navigation
修复路由失败不再顺延:换号预算下限、同一家跳过与失败冷却(#643 #644) #648
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
isee22
wants to merge
7
commits into
aimod-cc:beta
Choose a base branch
from
isee22:fix/routing-error-failover-644
base: beta
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+882
−137
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
80ad82d
修复路由失败不再顺延:换号预算、同家原地烧预算与失败无冷却(#643 #644)
isee22 b69f123
补齐 tauri dev 缺省二进制:src-tauri 与 server 各有一个 bin
isee22 64ef458
429 里的「积分/套餐」按账号级处理:同一个账号不再换着模型撞两次
isee22 2f69e3a
fix(routing): 换号上限抬到 100、全冷却兜底、provider_local 冷却铺满该家
isee22 7f08c2f
fix(routing): 401 续期失败后冷却账号,等待预算耗尽不再直接抛错
isee22 260346e
fix(routing): 失败账号默认熔断并退出轮转,401 一次即熔断
isee22 4a40dfc
fix(routing): 上游报余额不足时把账号积分读数按 0 落库(#643 #644)
isee22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
换号说明与实际预算不一致:填 N 时,N 不是上限。
实际上限是
max(N, 候选账号数),最多 100 个(provider_loop.rs:690)。候选账号数超过 N 时,请求会换超过 N 次。说明却写“最多换 N 个”。填 0 时不换号,与说明一致。
请让说明与实际规则一致。二选一即可:改说明,写明 N 是下限、实际上限随候选数增加;或改代码,让 N 成为真正的上限。无论选哪一种,中文源文案(同一个 key)和韩语译文都要同步修改。