feat(frontend): add account Codex image bridge control
This commit is contained in:
@@ -3136,6 +3136,18 @@ export default {
|
||||
codexCLIOnly: 'Codex official clients only',
|
||||
codexCLIOnlyDesc:
|
||||
'Only applies to OpenAI OAuth. When enabled, only Codex official client families are allowed; when disabled, the gateway bypasses this restriction and keeps existing behavior.',
|
||||
codexImageGenerationBridge: 'Codex image-generation bridge',
|
||||
codexImageGenerationBridgeDesc:
|
||||
'Account policy takes precedence over channel and global settings. Only controls whether Codex requests through the /responses text endpoint receive the image_generation tool; standalone image-generation endpoints are unaffected.',
|
||||
codexImageGenerationBridgeInherit: 'Follow channel',
|
||||
codexImageGenerationBridgeInheritDesc: 'Do not write an account override; use the channel or global policy.',
|
||||
codexImageGenerationBridgeEnabled: 'Force on',
|
||||
codexImageGenerationBridgeEnabledDesc: 'Allow image tool injection for Codex /responses requests.',
|
||||
codexImageGenerationBridgeDisabled: 'Force off',
|
||||
codexImageGenerationBridgeDisabledDesc: 'Block image tool injection for Codex /responses requests.',
|
||||
codexImageGenerationBridgeBadgeInherit: 'Channel policy',
|
||||
codexImageGenerationBridgeBadgeEnabled: 'Account on',
|
||||
codexImageGenerationBridgeBadgeDisabled: 'Account off',
|
||||
compactMode: 'Compact mode',
|
||||
compactModeDesc:
|
||||
'Controls how this account participates in /responses/compact routing. Auto follows probe results, Force On always allows, Force Off always excludes.',
|
||||
@@ -3147,7 +3159,8 @@ export default {
|
||||
'Only applies to /responses/compact. Use this when the upstream compact endpoint requires a special compact model.',
|
||||
compactSupported: 'Compact supported',
|
||||
compactUnsupported: 'Compact unsupported',
|
||||
compactUnknown: 'Compact unknown',
|
||||
compactAuto: 'Compact Auto',
|
||||
compactUnknown: 'Compact Auto',
|
||||
compactLastChecked: 'Last compact probe',
|
||||
testMode: 'Test mode',
|
||||
testModeDefault: 'Default request',
|
||||
|
||||
@@ -3281,6 +3281,18 @@ export default {
|
||||
responsesWebsocketsV2PassthroughHint: '当前已开启自动透传:仅影响 HTTP 透传链路,不影响 WS mode。',
|
||||
codexCLIOnly: '仅允许 Codex 官方客户端',
|
||||
codexCLIOnlyDesc: '仅对 OpenAI OAuth 生效。开启后仅允许 Codex 官方客户端家族访问;关闭后完全绕过并保持原逻辑。',
|
||||
codexImageGenerationBridge: 'Codex 图片生成桥接',
|
||||
codexImageGenerationBridgeDesc:
|
||||
'账号级策略优先于渠道和全局配置。仅控制 Codex 走 /responses 文本端点时是否注入 image_generation 工具;不影响独立图片生成接口。',
|
||||
codexImageGenerationBridgeInherit: '跟随渠道',
|
||||
codexImageGenerationBridgeInheritDesc: '不写入账号覆盖,继续使用渠道或全局策略。',
|
||||
codexImageGenerationBridgeEnabled: '强制开启',
|
||||
codexImageGenerationBridgeEnabledDesc: '允许 Codex /responses 请求获得图片工具注入。',
|
||||
codexImageGenerationBridgeDisabled: '强制关闭',
|
||||
codexImageGenerationBridgeDisabledDesc: '阻断 Codex /responses 的图片工具注入。',
|
||||
codexImageGenerationBridgeBadgeInherit: '渠道策略',
|
||||
codexImageGenerationBridgeBadgeEnabled: '账号开启',
|
||||
codexImageGenerationBridgeBadgeDisabled: '账号关闭',
|
||||
compactMode: 'Compact 模式',
|
||||
compactModeDesc:
|
||||
'控制本账号在 /responses/compact 调度中的参与方式。Auto 跟随探测结果,Force On 强制允许,Force Off 强制排除。',
|
||||
@@ -3292,7 +3304,8 @@ export default {
|
||||
'仅在 /responses/compact 请求中生效。当上游 compact 端点需要特殊 compact 模型时使用。',
|
||||
compactSupported: '支持 Compact',
|
||||
compactUnsupported: '不支持 Compact',
|
||||
compactUnknown: 'Compact 未知',
|
||||
compactAuto: 'Compact Auto',
|
||||
compactUnknown: 'Compact Auto',
|
||||
compactLastChecked: '最近探测',
|
||||
testMode: '测试模式',
|
||||
testModeDefault: '常规请求',
|
||||
|
||||
Reference in New Issue
Block a user