feat: 支持 API Key 上游池模式同账号重试次数配置与自定义错误策略
This commit is contained in:
@@ -1929,6 +1929,13 @@ export default {
|
||||
addModel: 'Add',
|
||||
modelExists: 'Model already exists',
|
||||
modelCount: '{count} models',
|
||||
poolMode: 'Pool Mode',
|
||||
poolModeHint: 'Enable when upstream is an account pool; errors won\'t mark local account status',
|
||||
poolModeInfo:
|
||||
'When enabled, upstream 429/403/401 errors will auto-retry without marking the account as rate-limited or errored. Suitable for upstream pointing to another sub2api instance.',
|
||||
poolModeRetryCount: 'Same-Account Retries',
|
||||
poolModeRetryCountHint:
|
||||
'Only applies in pool mode. Use 0 to disable in-place retry. Default {default}, maximum {max}.',
|
||||
customErrorCodes: 'Custom Error Codes',
|
||||
customErrorCodesHint: 'Only stop scheduling for selected error codes',
|
||||
customErrorCodesWarning:
|
||||
|
||||
@@ -2073,6 +2073,12 @@ export default {
|
||||
addModel: '填入',
|
||||
modelExists: '该模型已存在',
|
||||
modelCount: '{count} 个模型',
|
||||
poolMode: '池模式',
|
||||
poolModeHint: '上游为账号池时启用,错误不标记本地账号状态',
|
||||
poolModeInfo:
|
||||
'启用后,上游 429/403/401 错误将自动重试而不标记账号限流或错误,适用于上游指向另一个 sub2api 实例的场景。',
|
||||
poolModeRetryCount: '同账号重试次数',
|
||||
poolModeRetryCountHint: '仅在池模式下生效。0 表示不原地重试;默认 {default},最大 {max}。',
|
||||
customErrorCodes: '自定义错误码',
|
||||
customErrorCodesHint: '仅对选中的错误码停止调度',
|
||||
customErrorCodesWarning: '仅选中的错误码会停止调度,其他错误将返回 500。',
|
||||
|
||||
Reference in New Issue
Block a user