mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-28 16:09:34 +00:00
Localize the group Fast control
This commit is contained in:
@@ -1151,6 +1151,11 @@ export default {
|
||||
unsupportedMessage: 'This Sub2API server cannot generate the required Live attestation. Live will not work even if enabled. Continue anyway?',
|
||||
enableAnyway: 'Enable anyway'
|
||||
},
|
||||
openaiFast: {
|
||||
title: 'OpenAI Fast mode',
|
||||
force: 'Force Fast (priority)',
|
||||
hint: 'Forces service_tier=priority on OpenAI requests in this group. The global Fast/Flex policy can still filter or block it. New requests update immediately after saving; existing WebSocket sessions must reconnect.'
|
||||
},
|
||||
invalidRequestFallback: {
|
||||
title: 'Invalid Request Fallback Group',
|
||||
hint: 'Triggered only when upstream explicitly returns prompt too long. Leave empty to disable fallback.',
|
||||
|
||||
@@ -1149,6 +1149,11 @@ export default {
|
||||
unsupportedMessage: '当前 Sub2API 服务端无法生成 Live 所需的设备证明,即使开启也不能使用。是否仍然开启?',
|
||||
enableAnyway: '仍然开启'
|
||||
},
|
||||
openaiFast: {
|
||||
title: 'OpenAI Fast 模式',
|
||||
force: '强制使用 Fast(priority)',
|
||||
hint: '开启后,此分组的 OpenAI 请求会强制写入 service_tier=priority;全局 Fast/Flex 策略仍可过滤或拦截。保存后新请求立即生效,已建立的 WebSocket 会话需重连。'
|
||||
},
|
||||
invalidRequestFallback: {
|
||||
title: '无效请求兜底分组',
|
||||
hint: '仅当上游明确返回 prompt too long 时才会触发,留空表示不兜底',
|
||||
|
||||
Reference in New Issue
Block a user