Repository navigation
fix: 改回就绪保留模型冷却并减少全部账户限额后的重试 - #210
Merged
Merged
Conversation
- 账户状态改回就绪时只解除受限与账户整体的冷却,各模型的额度冷却保留到恢复时间 - 套餐限额冷却中的账户被拒后记下请求大小,同样大或更大的请求在 5 到 60 分钟内跳过该账户,全部跳过时立即返回 429 - 套餐限额再次被拒时恢复时间相差不到一分钟沿用原值,冷却日志只在恢复时间变化时输出
xiaohai1314-sys
added a commit
to xiaohai1314-sys/AIStudio2API
that referenced
this pull request
Nov 21, 2026
xiaohai1314-sys
added a commit
to xiaohai1314-sys/AIStudio2API
that referenced
this pull request
Nov 21, 2026
sync: merge upstream ea74f2f + 8083ef0 (PR Mag1cFall#210 cooldown scheduling)
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.
Fixes #207
Fixes #208
改动 / Changes
Retry-After。修改前每个请求都向全部账户各发一次才返回 429docs/protocol.md与docs/development.md说明以上行为验证 / Verification