优化: Settings 前端(Provider 模型表格化手动标注 + 布局重构 + 连接密码字段)
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -66,6 +66,9 @@ export default {
|
||||
fetchHintSaveFirst: '请先保存 Provider 后再拉取模型',
|
||||
labelWeight: '权重',
|
||||
modelListTitle: '已拉取模型({count} 个)',
|
||||
colEnabled: '启用',
|
||||
colModel: '模型',
|
||||
colAbility: '能力',
|
||||
modelListHint: '勾选 / 权重调整后,请点下方「保存」一并写入 Provider 配置;下次「测试连接」会以最新探测结果覆盖',
|
||||
saveModels: '保存模型配置',
|
||||
modelListUnsavedHint: '模型列表有未保存的调整(启用 / 权重),关闭或切走将丢弃',
|
||||
@@ -80,6 +83,13 @@ export default {
|
||||
tagModality: { text: '文本', vision: '视觉', audio: '音频', video: '视频' },
|
||||
tagCapability: { tool_use: '工具调用', embedding: '向量', code_gen: '代码' },
|
||||
tagSource: { user_set: '手动', preset_table: '预设', heuristic: '推断', default: '默认' },
|
||||
// 标签 tooltip:说明含义与来源可信度(手动标注 = 用户改过,优先级最高)
|
||||
tagTooltipModality: '模态:模型能接收的输入类型(视觉=可看图)。来自预设表/按名推断,可手动修改',
|
||||
tagTooltipCapability: '能力:模型能做什么(工具调用=可调用 AI 工具执行操作)。来自预设表/按名推断,可手动修改',
|
||||
tagTooltipSource: '来源:预设=命中内置模型表(较可靠);推断=按模型名猜测(仅供参考);手动=你自定义(优先)',
|
||||
// 表格内手动标注能力(点×删、点+加)
|
||||
addTagTitle: '添加能力/模态',
|
||||
addTagNone: '已含全部可选能力',
|
||||
|
||||
// ===== 连接管理面板 =====
|
||||
panelConnection: '🔗 连接管理',
|
||||
@@ -91,10 +101,12 @@ export default {
|
||||
labelHost: 'Host',
|
||||
labelPort: 'Port',
|
||||
labelUser: '用户名',
|
||||
labelPassword: '密码',
|
||||
phConnName: 'flux_dev',
|
||||
phHost: '127.0.0.1',
|
||||
phPort: '3306',
|
||||
phUser: 'root',
|
||||
phPassword: '••••••••',
|
||||
|
||||
// ===== 通用设置面板 =====
|
||||
panelGeneral: '🎨 通用设置',
|
||||
|
||||
Reference in New Issue
Block a user