Merge pull request #919 from arksou/hotfix/claude-console-quota-exceeded-recovery

fix: Claude Console 配额超限状态优化,支持主动自动恢复
This commit is contained in:
Wesley Liddick
2026-01-23 19:16:10 +08:00
committed by GitHub
3 changed files with 85 additions and 2 deletions

View File

@@ -4119,6 +4119,10 @@ const getSchedulableReason = (account) => {
if (account.status === 'unauthorized') {
return 'API Key无效或已过期401错误'
}
// 检查配额超限状态
if (account.status === 'quota_exceeded') {
return '余额不足'
}
if (account.overloadStatus === 'overloaded') {
return '服务过载529错误'
}