mirror of
https://gitee.com/wanwujie/sub2api
synced 2026-04-12 02:54:44 +08:00
Merge branch 'Wei-Shaw:main' into fix/openai-ws-usage-refresh
This commit is contained in:
@@ -3977,6 +3977,18 @@ export default {
|
||||
saved: 'Stream timeout settings saved',
|
||||
saveFailed: 'Failed to save stream timeout settings'
|
||||
},
|
||||
rectifier: {
|
||||
title: 'Request Rectifier',
|
||||
description: 'Automatically fix request parameters and retry when upstream returns specific errors',
|
||||
enabled: 'Enable Request Rectifier',
|
||||
enabledHint: 'Master switch - disabling turns off all rectification features',
|
||||
thinkingSignature: 'Thinking Signature Rectifier',
|
||||
thinkingSignatureHint: 'Automatically strip signatures and retry when upstream returns thinking block signature validation errors',
|
||||
thinkingBudget: 'Thinking Budget Rectifier',
|
||||
thinkingBudgetHint: 'Automatically set budget to 32000 and retry when upstream returns budget_tokens constraint error (≥1024)',
|
||||
saved: 'Rectifier settings saved',
|
||||
saveFailed: 'Failed to save rectifier settings'
|
||||
},
|
||||
saveSettings: 'Save Settings',
|
||||
saving: 'Saving...',
|
||||
settingsSaved: 'Settings saved successfully',
|
||||
|
||||
@@ -4151,6 +4151,18 @@ export default {
|
||||
saved: '流超时设置保存成功',
|
||||
saveFailed: '保存流超时设置失败'
|
||||
},
|
||||
rectifier: {
|
||||
title: '请求整流器',
|
||||
description: '当上游返回特定错误时,自动修正请求参数并重试,提高请求成功率',
|
||||
enabled: '启用请求整流器',
|
||||
enabledHint: '总开关,关闭后所有整流功能均不生效',
|
||||
thinkingSignature: 'Thinking 签名整流',
|
||||
thinkingSignatureHint: '当上游返回 thinking block 签名校验错误时,自动去除签名并重试',
|
||||
thinkingBudget: 'Thinking Budget 整流',
|
||||
thinkingBudgetHint: '当上游返回 budget_tokens 约束错误(≥1024)时,自动将 budget 设为 32000 并重试',
|
||||
saved: '整流器设置保存成功',
|
||||
saveFailed: '保存整流器设置失败'
|
||||
},
|
||||
saveSettings: '保存设置',
|
||||
saving: '保存中...',
|
||||
settingsSaved: '设置保存成功',
|
||||
|
||||
Reference in New Issue
Block a user