mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-24 05:27:11 +00:00
Merge pull request #919 from arksou/hotfix/claude-console-quota-exceeded-recovery
fix: Claude Console 配额超限状态优化,支持主动自动恢复
This commit is contained in:
@@ -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错误)'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user