feat(webui): improve model and provider settings UX (#6145)

* feat(webui): improve model and provider settings UX

* refactor(webui): organize provider forms and model picker interactions

* fix(webui): separate OAuth credentials from provider configuration

* fix(webui): stabilize shared combobox navigation

* refactor(config): store provider connections as sparse entries

* fix(webui): preserve provider validation and isolate catalog tests

* refactor(config): manage explicit provider connections

* refactor(webui): decouple settings UX from provider removal

* fix(webui): select current combobox options during rapid input

* feat(webui): refine model preset and provider management

* style(webui): refine preset footer actions

* fix(webui): align model settings with responsive layout rules

* refactor(webui): finalize preset dialogs and simplify provider state

* fix(webui): keep fallback heading stable while sorting presets

Animate card dimensions without changing layout height and keep the section heading outside sortable cards. Remove proxy normalization from this PR.

* docs: update WebUI model and provider setup instructions

* docs: start model setup from new preset

* docs: remove duplicate WebUI model setup instructions
This commit is contained in:
chengyongru authored and GitHub committed 2026-10-11 04:30:43 +08:00
1 parent 8080ea843a
commit 9261e731ce
88 files changed
+2854 -1734

No files matched your search

+13 -6
View File
@@ -762,6 +762,13 @@
}
},
"providers": {
"manageProviders": "管理提供商",
"configureProvider": "設定 {{provider}}…",
"sharedProviderHelp": "變更會影響使用此提供商的所有預設。",
"parameterCount": "{{count}} 項",
"providerGroupOAuth": "OAuth",
"providerGroupApiKey": "API Key",
"providerGroupLocal": "本地",
"title": "提供商",
"searchPlaceholder": "搜尋供應商",
"noMatches": "沒有符合的供應商。",
@@ -788,7 +795,7 @@
"extraBody": "請求體引數",
"extraQuery": "查詢引數",
"capabilityFastMode": "快速模式",
"capabilityFastModeHelp": "回覆更快,額度消耗也更快\n\n透過 OpenAI 優先服務層獲取更快響應,會更快消耗額度。",
"capabilityFastModeHelp": "回應更快,用量更高",
"capabilityXSearch": "X 搜尋",
"capabilityXSearchHelp": "支援的 Grok 模型可搜尋 X\n\n允許受支援的 Grok 模型使用 xAI 託管的 X Search,並在對話中展示搜尋過程。",
"capabilityOpenAISearch": "OpenAI 網路搜尋",
@@ -812,10 +819,11 @@
"installing": "正在安裝所需套件…"
},
"models": {
"otherPresets": "備用預設",
"catalogAuthRequired": "授權已失效,請重新登入。",
"catalogUnavailable": "暫時無法更新模型,請稍後重試。",
"catalogStale": "目前顯示快取的模型清單,可能不是最新。",
"catalogFallback": "目前顯示內建模型清單,可能不是最新。",
"catalogUnavailable": "更新失敗,點擊重試",
"catalogStale": "快取清單可能已過時。",
"catalogFallback": "內建清單可能已過時。",
"selectModel": "選擇模型",
"addConfiguration": "新增設定",
"newConfiguration": "新增模型設定",
@@ -825,7 +833,6 @@
"configurationNamePlaceholder": "快速寫作",
"callOrder": "使用順序",
"primary": "主要模型",
"fallbackNumber": "備用模型 {{number}}",
"addToOrder": "啟用預設",
"newPreset": "新建預設",
"newPresetHelp": "儲存模型和引數,方便下次選用",
@@ -862,7 +869,7 @@
"disabled": "未啟用",
"noPresets": "尚無模型預設",
"noPresetsHelp": "先建立預設,再將它加入呼叫順序。",
"removeBeforeDelete": "請先將其他預設設為主要模型,再刪除此預設。",
"removeBeforeDelete": "無法刪除主要模型",
"providerSetupRequired": "供應商需要設定",
"configureProviderBeforeSaving": "請先設定此供應商,再儲存預設。",
"deletePresetTitle": "刪除模型預設?",