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
18
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.
Open
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
3948113
修复路由失败不再顺延:换号预算、同家原地烧预算与失败无冷却(#643 #644)
isee22 3fc4ed8
补齐 tauri dev 缺省二进制:src-tauri 与 server 各有一个 bin
isee22 10b3d30
429 里的「积分/套餐」按账号级处理:同一个账号不再换着模型撞两次
isee22 1b27af3
fix(routing): 换号上限抬到 100、全冷却兜底、provider_local 冷却铺满该家
isee22 aeaf0b9
fix(routing): 401 续期失败后冷却账号,等待预算耗尽不再直接抛错
isee22 30f4406
fix(routing): 失败账号默认熔断并退出轮转,401 一次即熔断
isee22 0a7a546
fix(routing): 上游报余额不足时把账号积分读数按 0 落库(#643 #644)
isee22 bf0fd7d
fix(routing): 忙账号排队等槽位、选路快照全量落库、候选耗尽返回可重试 503
isee22 a262c66
fix(upstream): 插件/渠道类失败不再终止整条请求,一律继续换候选
isee22 75d7000
fix(runtime): 工作线程栈抬到 16 MiB 并支持环境变量覆盖
isee22 46b4d8c
chore(diagnostics): 加阶段面包屑,定位启动期栈溢出
isee22 568f124
chore(diagnostics): 面包屑在 debug 构建下默认打开;每个 HTTP 请求都留痕
isee22 0ba9bc6
fix(runtime): 工作线程栈默认 32 MiB(debug 下 wasm 插件 init 需 >16 MiB)
isee22 3df872e
chore(diagnostics): 错误结算与「为什么没继续顺延」留控制台痕迹
isee22 42e7fcd
feat(routing): 兜底选路 fallback_sweep —— 账本判死时按路由组原始顺序再走一遍
isee22 f25ae11
fix(routing): 兜底改为「有错就限流+换下一个」,不越过限制器与熔断
isee22 63a6a5d
fix(upstream): 兜底守不住时也不把上游 4xx 透给下游;决策理由落 logs 表
isee22 cce816f
fix(upstream): 上游明确拒收时解除请求级「禁止重放」,不再一跳就砸给下游
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
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)和韩语译文都要同步修改。