feat: 支持后台设置是否启用整流开关

This commit is contained in:
shaw
2026-03-07 21:45:18 +08:00
parent bcb6444f89
commit a3791104f9
18 changed files with 557 additions and 7 deletions

View File

@@ -3976,6 +3976,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',