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
@@ -693,10 +693,11 @@
"voiceInput": "语音转写"
},
"models": {
"otherPresets": "备用预设",
"catalogAuthRequired": "授权已失效,请重新登录。",
"catalogUnavailable": "暂时无法刷新模型,请稍后重试。",
"catalogStale": "当前显示缓存的模型列表,可能不是最新。",
"catalogFallback": "当前显示内置模型列表,可能不是最新。",
"catalogUnavailable": "刷新失败,点击重试",
"catalogStale": "缓存列表可能已过时。",
"catalogFallback": "内置列表可能已过时。",
"selectModel": "选择模型",
"addConfiguration": "添加配置",
"newConfiguration": "新建模型配置",
@@ -706,7 +707,6 @@
"configurationNamePlaceholder": "快速写作",
"callOrder": "使用顺序",
"primary": "主模型",
"fallbackNumber": "备用模型 {{number}}",
"addToOrder": "启用预设",
"newPreset": "新建预设",
"newPresetHelp": "保存模型和参数,方便下次选用",
@@ -743,7 +743,7 @@
"disabled": "未启用",
"noPresets": "还没有模型预设",
"noPresetsHelp": "先创建预设,再将它加入调用顺序。",
"removeBeforeDelete": "请先将其他预设设为主模型,再删除此预设。",
"removeBeforeDelete": "无法删除主模型",
"providerSetupRequired": "请先配置提供商",
"configureProviderBeforeSaving": "请先配置此提供商,再保存预设。",
"deletePresetTitle": "删除模型预设?",
@@ -1185,6 +1185,13 @@
"systemHelp": "包括内部任务和未标注来源的调用"
},
"providers": {
"manageProviders": "管理提供商",
"configureProvider": "配置 {{provider}}…",
"sharedProviderHelp": "修改会影响使用此提供商的所有预设。",
"parameterCount": "{{count}} 项",
"providerGroupOAuth": "OAuth",
"providerGroupApiKey": "API Key",
"providerGroupLocal": "本地",
"title": "提供商",
"searchPlaceholder": "搜索提供商",
"noMatches": "没有匹配的提供商。",
@@ -1211,7 +1218,7 @@
"extraBody": "请求体参数",
"extraQuery": "查询参数",
"capabilityFastMode": "快速模式",
"capabilityFastModeHelp": "回复更快,额度消耗也更快\n\n通过 OpenAI 优先服务层获取更快响应,会更快消耗额度。",
"capabilityFastModeHelp": "更快响应,用量更高",
"capabilityXSearch": "X 搜索",
"capabilityXSearchHelp": "支持的 Grok 模型可搜索 X\n\n允许受支持的 Grok 模型使用 xAI 托管的 X Search,并在对话中展示搜索过程。",
"capabilityOpenAISearch": "OpenAI 联网搜索",