feat(openai): add Live gateway support

This commit is contained in:
song
2026-07-25 12:50:46 +08:00
parent 37ed639d1e
commit e6eb23eaac
55 changed files with 2607 additions and 30 deletions
@@ -1095,6 +1095,11 @@ export default {
targetModelPlaceholder: 'e.g., gpt-5.4',
removeExactMapping: 'Remove Exact Mapping'
},
openaiLive: {
title: 'OpenAI Live',
allow: 'Allow Live access',
hint: 'When enabled, API keys in this OpenAI group can create and control Live voice sessions. Disabled by default.'
},
invalidRequestFallback: {
title: 'Invalid Request Fallback Group',
hint: 'Triggered only when upstream explicitly returns prompt too long. Leave empty to disable fallback.',
@@ -317,6 +317,7 @@ export default {
stream: 'Stream',
sync: 'Sync',
cyber: 'Cyber',
live: 'Live',
unknown: 'Unknown',
in: 'In',
out: 'Out',
@@ -1093,6 +1093,11 @@ export default {
targetModelPlaceholder: '例如: gpt-5.4',
removeExactMapping: '删除精确映射'
},
openaiLive: {
title: 'OpenAI Live',
allow: '允许访问 Live',
hint: '启用后,此 OpenAI 分组的 API Key 可以创建并控制 Live 语音会话。默认关闭。'
},
invalidRequestFallback: {
title: '无效请求兜底分组',
hint: '仅当上游明确返回 prompt too long 时才会触发,留空表示不兜底',
@@ -322,6 +322,7 @@ export default {
stream: '流式',
sync: '同步',
cyber: '安全策略',
live: 'Live',
unknown: '未知',
in: '输入',
out: '输出',