优化: Settings 前端(Provider 模型表格化手动标注 + 布局重构 + 连接密码字段)

This commit is contained in:
lxy
2026-08-08 14:19:49 +08:00
parent b408b2d7a1
commit 92903702e2
6 changed files with 424 additions and 75 deletions
+12
View File
@@ -67,6 +67,9 @@ export default {
fetchHintSaveFirst: 'Save the provider first, then fetch models',
labelWeight: 'Weight',
modelListTitle: 'Fetched models ({count})',
colEnabled: 'Enabled',
colModel: 'Model',
colAbility: 'Capability',
modelListHint: 'After toggling enabled / weight, click "Save" below to write them into the provider config; the next "Test connection" overwrites with fresh probe results',
saveModels: 'Save model config',
modelListUnsavedHint: 'Model list has unsaved changes (enabled / weight) — closing or navigating away will discard them',
@@ -81,6 +84,13 @@ export default {
tagModality: { text: 'Text', vision: 'Vision', audio: 'Audio', video: 'Video' },
tagCapability: { tool_use: 'Tool use', embedding: 'Embedding', code_gen: 'Code' },
tagSource: { user_set: 'Manual', preset_table: 'Preset', heuristic: 'Heuristic', default: 'Default' },
// Tag tooltips: explain meaning & source reliability (manual = user-edited, highest priority)
tagTooltipModality: 'Modality: input types a model accepts (Vision = can read images). From preset table / name heuristic; editable',
tagTooltipCapability: 'Capability: what a model can do (Tool use = can call AI tools to act). From preset table / name heuristic; editable',
tagTooltipSource: 'Source: Preset = matched built-in table (reliable); Heuristic = guessed from name (approx); Manual = your override (priority)',
// In-table manual capability tagging (× to remove, to add)
addTagTitle: 'Add capability / modality',
addTagNone: 'All optional capabilities included',
// ===== Connection panel =====
panelConnection: '🔗 Connections',
@@ -92,10 +102,12 @@ export default {
labelHost: 'Host',
labelPort: 'Port',
labelUser: 'Username',
labelPassword: 'Password',
phConnName: 'flux_dev',
phHost: '127.0.0.1',
phPort: '3306',
phUser: 'root',
phPassword: '••••••••',
// ===== General settings panel =====
panelGeneral: '🎨 General',