Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

feat: 按模型组禁用额度耗尽的凭证#13

Merged
zhongruan0522 merged 1 commit into
R-LLM:mainfrom
0xsline:feature/model-group-cooldown
Dec 29, 2025
Merged

feat: 按模型组禁用额度耗尽的凭证#13
zhongruan0522 merged 1 commit into
R-LLM:mainfrom
0xsline:feature/model-group-cooldown

Conversation

@0xsline

@0xsline 0xsline commented Dec 28, 2025

Copy link
Copy Markdown
  • 429额度耗尽报错❌ + 模型组额度为0时,禁用该凭证的整个模型组(如 Claude/GPT)
  • 不影响同一凭证的其他模型组(如 Gemini)
  • 额度>1%时先重试同一账号,再次429才切换
  • 所有账号耗尽时返回友好提示
  • 前端额度卡片直接显示冷却倒计时
image - docker-compose.yml 添加 platform: linux/amd64 适配 macOS

- 429 + 额度为0时,禁用该凭证的整个模型组(如 Claude/GPT)
- 不影响同一凭证的其他模型组(如 Gemini)
- 额度>1%时先重试同一账号,再次429才切换
- 所有账号耗尽时返回友好提示
- 前端额度卡片直接显示冷却倒计时
- 修复 tools/function_declarations 中 required 引用不存在属性导致的 400 错误
- docker-compose.yml 添加 platform: linux/amd64 适配 macOS
@0xsline 0xsline force-pushed the feature/model-group-cooldown branch from b96f586 to 1635b66 Compare December 28, 2025 16:55
@zhongruan0522 zhongruan0522 merged commit 6f10d86 into R-LLM:main Dec 29, 2025
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants