fix(frontend): simplify websearch select labels and reduce width

- "默认(跟随渠道)" → "默认", "Default (follow channel)" → "Default"
- Move "follows channel config" info to description text
- Reduce select width from w-32 to w-24 in both Edit and Create modals
This commit is contained in:
erio
2026-04-13 15:20:00 +08:00
parent 48e8efe3e8
commit 245f47cebb
4 changed files with 6 additions and 6 deletions

View File

@@ -2383,8 +2383,8 @@ export default {
'Only applies to Anthropic API Key accounts. When enabled, messages/count_tokens are forwarded in passthrough mode with auth replacement only, while billing/concurrency/audit and safety filtering are preserved. Disable to roll back immediately.',
webSearchEmulation: 'Web Search Emulation',
webSearchEmulationDesc:
'Enable web search emulation for this API Key account. When a pure web_search request is detected, the gateway calls a third-party search API and constructs the response locally.',
webSearchDefault: 'Default (follow channel)',
'Enable web search emulation for this API Key account. When a pure web_search request is detected, the gateway calls a third-party search API and constructs the response locally. Default follows channel config.',
webSearchDefault: 'Default',
webSearchEnabled: 'Enabled',
webSearchDisabled: 'Disabled',
},

View File

@@ -2530,8 +2530,8 @@ export default {
'仅对 Anthropic API Key 生效。开启后messages/count_tokens 请求将透传上游并仅替换认证,保留计费/并发/审计及必要安全过滤;关闭即可回滚到现有兼容链路。',
webSearchEmulation: 'Web Search 模拟',
webSearchEmulationDesc:
'为该 API Key 账号启用 web search 模拟。客户端发送纯 web_search 请求时,由网关调用第三方搜索 API 并构造响应返回。',
webSearchDefault: '默认(跟随渠道)',
'为该 API Key 账号启用 web search 模拟。客户端发送纯 web_search 请求时,由网关调用第三方搜索 API 并构造响应返回。默认跟随渠道配置。',
webSearchDefault: '默认',
webSearchEnabled: '开启',
webSearchDisabled: '关闭',
},