Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
feat(webui): explain API settings on hover
chengyongru87a1e368332d
diff --git a/docs/configuration.md b/docs/configuration.mdindex bac91bd9b..eb6360cc4 100644--- a/docs/configuration.md+++ b/docs/configuration.md@@ -1433,7 +1433,7 @@ Set `agents.defaults.modelPreset` to choose the preset followed by sessions that### Custom connection APIs-Custom providers use Chat Completions by default. If your service requires another protocol, open its WebUI connection editor and expand **Advanced options**. Use **Supported APIs** to select the protocols the service accepts and **Default API** to choose the default for Auto presets. Existing connections without a declaration retain their previous Auto behavior; use **Set supported APIs** to add one.+Custom providers use Chat Completions by default. If your service requires another protocol, open its WebUI connection editor and expand **Advanced options**. Use **Supported APIs** to select the protocols the service accepts and **Default API** to choose the default for Auto presets. Hover, focus, or tap a setting label for help. Existing connections without a declaration retain their previous Auto behavior; use **Set supported APIs** to add one.In `config.json`, set `providers.<name>.api` for the built-in `custom` provider or a named custom provider:@@ -1462,7 +1462,7 @@ The old field is accepted in the first release containing this migration and the### Preset request API-Leave API selection on **Auto** unless your service requires a specific protocol. To change it, open **Settings → Models → a preset → Advanced options → API connection**. Choose **Responses**, **Chat Completions**, or **Anthropic Messages** from the available options. Credentials and endpoint URLs stay in the provider; two presets sharing a provider can select different APIs.+Leave API selection on **Auto** unless your service requires a specific protocol. To change it, open **Settings → Models → a preset → Advanced options → API connection**. Choose **Responses**, **Chat Completions**, or **Anthropic Messages** from the available options. Hover, focus, or tap a setting label for help. Credentials and endpoint URLs stay in the provider; two presets sharing a provider can select different APIs.**Auto (Responses)**, for example, shows the default API for the current provider, model, and reasoning settings. Auto uses a configured connection default when present. Otherwise, custom providers use Chat Completions, built-in providers use their known model defaults, and GitHub Copilot uses available account model information. Auto does not test whether a third-party service supports an API. If no preview is available, the label shows **Auto**.diff --git a/webui/src/components/settings/models/ModelAPIControl.tsx b/webui/src/components/settings/models/ModelAPIControl.tsxindex 538859327..c6cad4022 100644--- a/webui/src/components/settings/models/ModelAPIControl.tsx+++ b/webui/src/components/settings/models/ModelAPIControl.tsx@@ -4,6 +4,7 @@ import { useTranslation } from "react-i18next";import { modelAPIConfigurable, preferredModelAPI, REQUEST_API_LABELS } from "@/components/settings/models/modelAPI";import { ToggleButton } from "@/components/settings/ToggleButton";import { SettingsRow } from "@/components/settings/shared/SettingsControls";+import { SettingsHint } from "@/components/settings/shared/SettingsHint";import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";import { cn } from "@/lib/utils";import type { ModelAPIConfig, ProviderRequestAPI, SettingsPayload } from "@/lib/types";@@ -12,12 +13,14 @@ export function ModelAPIControl({provider,automaticAPI,title,+ description,value,onChange,}: {provider: SettingsPayload["providers"][number] | undefined;automaticAPI?: ProviderRequestAPI;title?: string;+ description?: string;value: ModelAPIConfig | null;onChange: (api: ModelAPIConfig | null) => void;}) {@@ -50,7 +53,12 @@ export function ModelAPIControl({return (<div>- <SettingsRow title={controlTitle}>+ <SettingsRow+ title={controlTitle}+ description={description ?? (configurable+ ? t("settings.models.requestAPIDescription")+ : t("settings.models.fixedAPIDescription", { api: fixedLabel }))}+ >{configurable ? (<Select value={selectedAPI} onValueChange={(api) => {if (api === selectedAPI) return;@@ -86,7 +94,11 @@ export function ModelAPIControl({{configurable && selectedAPI === "responses" && (!requestAPIs || requestAPIs.includes("chat_completions")) ? (<div className="mx-4 mb-3 flex items-start justify-between gap-4 rounded-xl bg-muted/30 px-3 py-3 sm:mx-5"><div className="min-w-0">- <p className="text-[13px] leading-5 text-foreground">{t("settings.models.apiFallback")}</p>+ <p className="text-[13px] leading-5 text-foreground">+ <SettingsHint description={t("settings.models.apiFallbackDescription")}>+ {t("settings.models.apiFallback")}+ </SettingsHint>+ </p></div><div className="pt-0.5"><ToggleButtondiff --git a/webui/src/components/settings/models/ProviderAPIControl.tsx b/webui/src/components/settings/models/ProviderAPIControl.tsxindex ad6599917..3d14f5b8c 100644--- a/webui/src/components/settings/models/ProviderAPIControl.tsx+++ b/webui/src/components/settings/models/ProviderAPIControl.tsx@@ -2,6 +2,7 @@ import { useTranslation } from "react-i18next";import { MODEL_REQUEST_APIS, REQUEST_API_LABELS } from "@/components/settings/models/modelAPI";import { ToggleButton } from "@/components/settings/ToggleButton";+import { SettingsHint } from "@/components/settings/shared/SettingsHint";import { Button } from "@/components/ui/button";import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select";import type { ModelAPIConfig, ModelRequestAPI } from "@/lib/types";@@ -26,7 +27,9 @@ export function ProviderAPIControl({ value, onChange }: {<div className="space-y-3"><fieldset className="space-y-3 rounded-xl border border-border/60 p-3"><legend className="px-1 text-[12px] font-medium text-muted-foreground">- {t("settings.providers.supportedAPIs")}+ <SettingsHint description={t("settings.providers.supportedAPIsDescription")}>+ {t("settings.providers.supportedAPIs")}+ </SettingsHint></legend>{MODEL_REQUEST_APIS.map((api) => {const checked = supported.includes(api);@@ -48,7 +51,9 @@ export function ProviderAPIControl({ value, onChange }: {</fieldset><div className="space-y-1.5"><span className="text-[12px] font-medium text-muted-foreground">- {t("settings.providers.defaultAPI")}+ <SettingsHint description={t("settings.providers.defaultAPIDescription")}>+ {t("settings.providers.defaultAPI")}+ </SettingsHint></span><Select value={preferred} onValueChange={(api) => onChange({supported_apis: supported, preferred_api: api as ModelRequestAPI,diff --git a/webui/src/components/settings/models/ProviderSettings.tsx b/webui/src/components/settings/models/ProviderSettings.tsxindex 298ff2335..66c04821d 100644--- a/webui/src/components/settings/models/ProviderSettings.tsx+++ b/webui/src/components/settings/models/ProviderSettings.tsx@@ -1015,6 +1015,7 @@ export function ProvidersSettings({<ModelAPIControlprovider={provider}title={t("settings.providers.defaultAPI")}+ description={t("settings.providers.openaiDefaultAPIDescription")}value={form.api}onChange={(api) => onChangeProviderForm(provider.name, { api })}/>diff --git a/webui/src/i18n/locales/en/common.json b/webui/src/i18n/locales/en/common.jsonindex da68a3e81..78614c459 100644--- a/webui/src/i18n/locales/en/common.json+++ b/webui/src/i18n/locales/en/common.json@@ -718,8 +718,11 @@"presetNamePlaceholder": "e.g. Fast writing","advancedOptions": "Advanced options","requestAPI": "API connection",+ "requestAPIDescription": "Auto uses the connection default or known model rules; it does not test the service's API support. Choose a specific API only when your service requires it.","apiAuto": "Auto",+ "fixedAPIDescription": "This connection always uses {{api}}.","apiFallback": "Try Chat Completions if Responses is unsupported",+ "apiFallbackDescription": "Retry with Chat Completions for Responses compatibility errors. Enable only if your service supports this model through both APIs.","apiTranscription": "Transcription","contextSummary": "Context {{context}}","outputSummary": "Max {{max}} tokens",@@ -1195,8 +1198,11 @@"advancedOptions": "Advanced options","saveAdvancedBeforeSignIn": "Save advanced changes before signing in.","supportedAPIs": "Supported APIs",+ "supportedAPIsDescription": "Select the APIs your service supports. Presets can use only these APIs; check the service's documentation if unsure.","defaultAPI": "Default API",+ "defaultAPIDescription": "Presets set to Auto use this API. A preset can choose another API from the supported list.","declareAPIs": "Set supported APIs",+ "openaiDefaultAPIDescription": "Sets the default API for presets using Auto. Auto here follows known model rules. Individual presets can override this choice.","proxy": "Network proxy","thinkingStyle": "Reasoning format","region": "Region",diff --git a/webui/src/i18n/locales/es/common.json b/webui/src/i18n/locales/es/common.jsonindex e0518f6bf..be222b03b 100644--- a/webui/src/i18n/locales/es/common.json+++ b/webui/src/i18n/locales/es/common.json@@ -775,8 +775,11 @@"advancedOptions": "Opciones avanzadas","saveAdvancedBeforeSignIn": "Guarda los cambios avanzados antes de iniciar sesión.","supportedAPIs": "API compatibles",+ "supportedAPIsDescription": "Selecciona las API que admite el servicio. Los preajustes solo pueden usar estas API; consulta la documentación del servicio si tienes dudas.","defaultAPI": "API predeterminada",+ "defaultAPIDescription": "Los preajustes configurados en Auto usan esta API. Cada preajuste puede elegir otra API de la lista de API compatibles.","declareAPIs": "Configurar API compatibles",+ "openaiDefaultAPIDescription": "Define la API predeterminada para los preajustes que usan Auto. Aquí, Auto sigue las reglas conocidas del modelo. Cada preajuste puede cambiar esta elección.","proxy": "Proxy de red","thinkingStyle": "Formato de razonamiento","region": "Región",@@ -836,8 +839,11 @@"presetNamePlaceholder": "p. ej., Escritura rápida","advancedOptions": "Opciones avanzadas","requestAPI": "Conexión API",+ "requestAPIDescription": "Auto usa la API predeterminada de la conexión o las reglas conocidas del modelo; no comprueba las API del servicio. Elige una API específica solo si el servicio la requiere.","apiAuto": "Auto",+ "fixedAPIDescription": "Esta conexión siempre usa {{api}}.","apiFallback": "Probar Chat Completions si Responses no es compatible",+ "apiFallbackDescription": "Reintenta con Chat Completions ante errores de compatibilidad con Responses. Actívalo solo si el servicio admite este modelo mediante ambas API.","apiTranscription": "Transcripción","contextSummary": "Contexto {{context}}","outputSummary": "Máx. {{max}} tokens",diff --git a/webui/src/i18n/locales/fr/common.json b/webui/src/i18n/locales/fr/common.jsonindex 1c854bdb8..6f2e7583b 100644--- a/webui/src/i18n/locales/fr/common.json+++ b/webui/src/i18n/locales/fr/common.json@@ -775,8 +775,11 @@"advancedOptions": "Options avancées","saveAdvancedBeforeSignIn": "Enregistrez les options avancées avant de vous connecter.","supportedAPIs": "API prises en charge",+ "supportedAPIsDescription": "Sélectionnez les API prises en charge par le service. Les préréglages ne peuvent utiliser que ces API ; consultez la documentation du service en cas de doute.","defaultAPI": "API par défaut",+ "defaultAPIDescription": "Les préréglages définis sur Auto utilisent cette API. Chaque préréglage peut choisir une autre API de la liste des API prises en charge.","declareAPIs": "Définir les API prises en charge",+ "openaiDefaultAPIDescription": "Définit l’API par défaut des préréglages utilisant Auto. Ici, Auto suit les règles connues du modèle. Chaque préréglage peut modifier ce choix.","proxy": "Proxy réseau","thinkingStyle": "Format du raisonnement","region": "Région",@@ -836,8 +839,11 @@"presetNamePlaceholder": "p. ex. Rédaction rapide","advancedOptions": "Options avancées","requestAPI": "Connexion API",+ "requestAPIDescription": "Auto utilise l’API par défaut de la connexion ou les règles connues du modèle, sans tester les API du service. Choisissez une API précise uniquement si le service l’exige.","apiAuto": "Auto",+ "fixedAPIDescription": "Cette connexion utilise toujours {{api}}.","apiFallback": "Essayer Chat Completions si Responses n’est pas pris en charge",+ "apiFallbackDescription": "Réessayer avec Chat Completions en cas d’erreur de compatibilité avec Responses. Activez cette option uniquement si le service prend en charge ce modèle via les deux API.","apiTranscription": "Transcription","contextSummary": "Contexte {{context}}","outputSummary": "Max. {{max}} tokens",diff --git a/webui/src/i18n/locales/id/common.json b/webui/src/i18n/locales/id/common.jsonindex a8e91e6b8..8a617c516 100644--- a/webui/src/i18n/locales/id/common.json+++ b/webui/src/i18n/locales/id/common.json@@ -775,8 +775,11 @@"advancedOptions": "Opsi lanjutan","saveAdvancedBeforeSignIn": "Simpan perubahan lanjutan sebelum masuk.","supportedAPIs": "API yang didukung",+ "supportedAPIsDescription": "Pilih API yang didukung layanan. Preset hanya dapat memakai API dalam daftar ini; periksa dokumentasi layanan jika ragu.","defaultAPI": "API default",+ "defaultAPIDescription": "Preset yang diatur ke Otomatis memakai API ini. Setiap preset dapat memilih API lain dari daftar yang didukung.","declareAPIs": "Atur API yang didukung",+ "openaiDefaultAPIDescription": "Menetapkan API default untuk preset yang memakai Otomatis. Otomatis di sini mengikuti aturan model yang sudah diketahui. Setiap preset dapat mengubah pilihan ini.","proxy": "Proksi jaringan","thinkingStyle": "Format penalaran","region": "Wilayah",@@ -836,8 +839,11 @@"presetNamePlaceholder": "mis. Menulis cepat","advancedOptions": "Opsi lanjutan","requestAPI": "Koneksi API",+ "requestAPIDescription": "Otomatis memakai API default koneksi atau aturan model yang sudah diketahui, tanpa menguji dukungan API layanan. Pilih API tertentu hanya jika layanan mewajibkannya.","apiAuto": "Otomatis",+ "fixedAPIDescription": "Koneksi ini selalu memakai {{api}}.","apiFallback": "Coba Chat Completions jika Responses tidak didukung",+ "apiFallbackDescription": "Coba lagi dengan Chat Completions jika terjadi kesalahan kompatibilitas Responses. Aktifkan hanya jika layanan mendukung model ini melalui kedua API.","apiTranscription": "Transkripsi","contextSummary": "Konteks {{context}}","outputSummary": "Maks. {{max}} token",diff --git a/webui/src/i18n/locales/ja/common.json b/webui/src/i18n/locales/ja/common.jsonindex 672c9003b..6e26c2803 100644--- a/webui/src/i18n/locales/ja/common.json+++ b/webui/src/i18n/locales/ja/common.json@@ -775,8 +775,11 @@"advancedOptions": "詳細オプション","saveAdvancedBeforeSignIn": "サインインする前に詳細オプションを保存してください。","supportedAPIs": "対応する API",+ "supportedAPIsDescription": "サービスが対応している API を選択します。プリセットはこの一覧の API のみ使用できます。不明な場合はサービスのドキュメントを確認してください。","defaultAPI": "デフォルトの API",+ "defaultAPIDescription": "自動に設定したプリセットはこの API を使用します。各プリセットでは対応 API の一覧から別の API を選択できます。","declareAPIs": "対応する API を設定",+ "openaiDefaultAPIDescription": "自動を使うプリセットのデフォルト API を設定します。ここで自動を選ぶと既知のモデルルールに従います。各プリセットでこの設定を変更できます。","proxy": "ネットワークプロキシ","thinkingStyle": "推論の形式","region": "リージョン",@@ -836,8 +839,11 @@"presetNamePlaceholder": "例:文章作成用","advancedOptions": "詳細オプション","requestAPI": "API 接続",+ "requestAPIDescription": "自動では接続のデフォルトまたは既知のモデルルールを使い、サービスの API 対応状況は確認しません。サービスが特定の API を要求する場合のみ手動で選択してください。","apiAuto": "自動",+ "fixedAPIDescription": "この接続では常に {{api}} を使用します。","apiFallback": "Responses が非対応の場合は Chat Completions を試す",+ "apiFallbackDescription": "Responses の互換性エラー時に Chat Completions で再試行します。サービスが両方の API で同じモデルに対応している場合のみ有効にしてください。","apiTranscription": "音声文字起こし","contextSummary": "コンテキスト {{context}}","outputSummary": "最大 {{max}} トークン",diff --git a/webui/src/i18n/locales/ko/common.json b/webui/src/i18n/locales/ko/common.jsonindex 242a0775d..ef4e20084 100644--- a/webui/src/i18n/locales/ko/common.json+++ b/webui/src/i18n/locales/ko/common.json@@ -775,8 +775,11 @@"advancedOptions": "고급 옵션","saveAdvancedBeforeSignIn": "로그인하기 전에 고급 옵션을 저장하세요.","supportedAPIs": "지원 API",+ "supportedAPIsDescription": "서비스가 지원하는 API를 선택하세요. 프리셋은 이 목록의 API만 사용할 수 있습니다. 확실하지 않으면 서비스 문서를 확인하세요.","defaultAPI": "기본 API",+ "defaultAPIDescription": "자동으로 설정한 프리셋은 이 API를 사용합니다. 개별 프리셋에서는 지원 목록의 다른 API를 선택할 수 있습니다.","declareAPIs": "지원 API 설정",+ "openaiDefaultAPIDescription": "자동을 사용하는 프리셋의 기본 API를 설정합니다. 여기서 자동을 선택하면 알려진 모델 규칙을 따릅니다. 개별 프리셋에서 이 설정을 바꿀 수 있습니다.","proxy": "네트워크 프록시","thinkingStyle": "추론 형식","region": "리전",@@ -836,8 +839,11 @@"presetNamePlaceholder": "예: 빠른 작성","advancedOptions": "고급 옵션","requestAPI": "API 연결",+ "requestAPIDescription": "자동은 연결의 기본값이나 알려진 모델 규칙을 사용하며 서비스의 API 지원 여부를 확인하지 않습니다. 서비스에서 특정 API를 요구할 때만 직접 선택하세요.","apiAuto": "자동",+ "fixedAPIDescription": "이 연결은 항상 {{api}}를 사용합니다.","apiFallback": "Responses를 지원하지 않으면 Chat Completions 시도",+ "apiFallbackDescription": "Responses 호환성 오류가 발생하면 Chat Completions로 다시 시도합니다. 서비스가 두 API 모두에서 같은 모델을 지원할 때만 켜세요.","apiTranscription": "음성 전사","contextSummary": "컨텍스트 {{context}}","outputSummary": "최대 {{max}} 토큰",diff --git a/webui/src/i18n/locales/pt-BR/common.json b/webui/src/i18n/locales/pt-BR/common.jsonindex d424c53c8..edb76040d 100644--- a/webui/src/i18n/locales/pt-BR/common.json+++ b/webui/src/i18n/locales/pt-BR/common.json@@ -532,8 +532,11 @@"presetNamePlaceholder": "ex.: Escrita rápida","advancedOptions": "Opções avançadas","requestAPI": "Conexão API",+ "requestAPIDescription": "Auto usa a API padrão da conexão ou as regras conhecidas do modelo; não verifica as APIs do serviço. Escolha uma API específica apenas se o serviço exigir.","apiAuto": "Auto",+ "fixedAPIDescription": "Esta conexão sempre usa {{api}}.","apiFallback": "Tentar Chat Completions se Responses não for compatível",+ "apiFallbackDescription": "Tenta novamente com Chat Completions em caso de erro de compatibilidade com Responses. Ative apenas se o serviço oferecer este modelo pelas duas APIs.","apiTranscription": "Transcrição","contextSummary": "Contexto {{context}}","outputSummary": "Máx. {{max}} tokens",@@ -1009,8 +1012,11 @@"advancedOptions": "Opções avançadas","saveAdvancedBeforeSignIn": "Salve as alterações avançadas antes de entrar.","supportedAPIs": "APIs compatíveis",+ "supportedAPIsDescription": "Selecione as APIs que o serviço oferece. As predefinições só podem usar essas APIs; consulte a documentação do serviço em caso de dúvida.","defaultAPI": "API padrão",+ "defaultAPIDescription": "As predefinições configuradas como Auto usam esta API. Cada predefinição pode escolher outra API da lista de APIs compatíveis.","declareAPIs": "Definir APIs compatíveis",+ "openaiDefaultAPIDescription": "Define a API padrão das predefinições que usam Auto. Aqui, Auto segue as regras conhecidas do modelo. Cada predefinição pode alterar essa escolha.","proxy": "Proxy de rede","thinkingStyle": "Formato de raciocínio","region": "Região",diff --git a/webui/src/i18n/locales/vi/common.json b/webui/src/i18n/locales/vi/common.jsonindex b518002df..ccfa4f347 100644--- a/webui/src/i18n/locales/vi/common.json+++ b/webui/src/i18n/locales/vi/common.json@@ -775,8 +775,11 @@"advancedOptions": "Tùy chọn nâng cao","saveAdvancedBeforeSignIn": "Lưu các thay đổi nâng cao trước khi đăng nhập.","supportedAPIs": "API được hỗ trợ",+ "supportedAPIsDescription": "Chọn các API mà dịch vụ hỗ trợ. Cấu hình sẵn chỉ có thể dùng các API này; xem tài liệu của dịch vụ nếu chưa rõ.","defaultAPI": "API mặc định",+ "defaultAPIDescription": "Cấu hình sẵn đặt ở Tự động sẽ dùng API này. Mỗi cấu hình sẵn có thể chọn API khác trong danh sách được hỗ trợ.","declareAPIs": "Đặt API được hỗ trợ",+ "openaiDefaultAPIDescription": "Đặt API mặc định cho cấu hình sẵn dùng Tự động. Chọn Tự động tại đây sẽ áp dụng quy tắc đã biết của mô hình. Mỗi cấu hình sẵn có thể thay đổi lựa chọn này.","proxy": "Proxy mạng","thinkingStyle": "Định dạng suy luận","region": "Khu vực",@@ -836,8 +839,11 @@"presetNamePlaceholder": "ví dụ: Viết nhanh","advancedOptions": "Tùy chọn nâng cao","requestAPI": "Kết nối API",+ "requestAPIDescription": "Tự động dùng API mặc định của kết nối hoặc quy tắc đã biết của mô hình, không kiểm tra API mà dịch vụ hỗ trợ. Chỉ chọn API cụ thể khi dịch vụ yêu cầu.","apiAuto": "Tự động",+ "fixedAPIDescription": "Kết nối này luôn dùng {{api}}.","apiFallback": "Thử Chat Completions nếu Responses không được hỗ trợ",+ "apiFallbackDescription": "Thử lại bằng Chat Completions khi Responses gặp lỗi tương thích. Chỉ bật nếu dịch vụ hỗ trợ cùng mô hình qua cả hai API.","apiTranscription": "Chuyển giọng nói thành văn bản","contextSummary": "Ngữ cảnh {{context}}","outputSummary": "Tối đa {{max}} token",diff --git a/webui/src/i18n/locales/zh-CN/common.json b/webui/src/i18n/locales/zh-CN/common.jsonindex e8a579d57..3780f6f56 100644--- a/webui/src/i18n/locales/zh-CN/common.json+++ b/webui/src/i18n/locales/zh-CN/common.json@@ -718,8 +718,11 @@"presetNamePlaceholder": "例如:快速写作","advancedOptions": "高级选项","requestAPI": "连接方式",+ "requestAPIDescription": "自动选择使用连接默认值或已知模型规则,不会探测服务是否支持该 API。仅在服务要求特定 API 时手动选择。","apiAuto": "自动",+ "fixedAPIDescription": "此连接固定使用 {{api}}。","apiFallback": "Responses 不兼容时尝试 Chat Completions",+ "apiFallbackDescription": "Responses 接口不兼容时尝试 Chat Completions。仅在服务通过两种接口都支持同一个模型时开启。","apiTranscription": "语音转写","contextSummary": "上下文 {{context}}","outputSummary": "输出上限 {{max}} Token",@@ -1195,8 +1198,11 @@"advancedOptions": "高级选项","saveAdvancedBeforeSignIn": "请先保存高级选项再登录。","supportedAPIs": "支持的协议",+ "supportedAPIsDescription": "选择服务支持的协议。预设只能使用此列表中的协议;不确定时请查看服务文档。","defaultAPI": "默认协议",+ "defaultAPIDescription": "预设选择「自动」时使用此协议。单个预设可改用支持列表中的其他协议。","declareAPIs": "设置支持的协议",+ "openaiDefaultAPIDescription": "设为「自动」的预设使用此默认协议。此处选择「自动」会遵循已知模型规则;单个预设可以覆盖此默认值。","proxy": "网络代理","thinkingStyle": "推理格式","region": "区域",diff --git a/webui/src/i18n/locales/zh-TW/common.json b/webui/src/i18n/locales/zh-TW/common.jsonindex c949ae8ae..9daf84206 100644--- a/webui/src/i18n/locales/zh-TW/common.json+++ b/webui/src/i18n/locales/zh-TW/common.json@@ -775,8 +775,11 @@"advancedOptions": "進階選項","saveAdvancedBeforeSignIn": "請先儲存進階選項再登入。","supportedAPIs": "支援的協定",+ "supportedAPIsDescription": "選擇服務支援的協定。預設只能使用此清單中的協定;不確定時請查看服務文件。","defaultAPI": "預設協定",+ "defaultAPIDescription": "預設選擇「自動」時使用此協定。個別預設可改用支援清單中的其他協定。","declareAPIs": "設定支援的協定",+ "openaiDefaultAPIDescription": "設為「自動」的預設使用此預設協定。此處選擇「自動」會遵循已知模型規則;個別預設可以覆寫此預設值。","proxy": "網路代理","thinkingStyle": "推理格式","region": "區域",@@ -836,8 +839,11 @@"presetNamePlaceholder": "例如:快速寫作","advancedOptions": "進階選項","requestAPI": "連線方式",+ "requestAPIDescription": "自動選擇使用連線預設值或已知模型規則,不會探測服務是否支援該 API。僅在服務要求特定 API 時手動選擇。","apiAuto": "自動",+ "fixedAPIDescription": "此連線固定使用 {{api}}。","apiFallback": "Responses 不相容時嘗試 Chat Completions",+ "apiFallbackDescription": "Responses 介面不相容時嘗試 Chat Completions。僅在服務透過兩種介面都支援同一模型時開啟。","apiTranscription": "語音轉錄","contextSummary": "上下文 {{context}}","outputSummary": "輸出上限 {{max}} Token",