mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-12-01 01:29:35 +08:00
The provider editor nested three frames, kept the model list inside the same fold as the endpoint and retry fields, and showed every model as a pair of inputs behind a drag handle whose tooltip covered the model ID. - An edited provider row is the editing surface itself, under its own name; the editor no longer repeats the name, and Cancel closes it. - The model list is its own section, unfolded by default. The endpoint, retry policy, and a declared route's name and protocol move to a folded "Advanced settings" section. - A folded model row is one line of text and is dragged as a whole to reorder; the handle and keyboard reordering are removed. Unfolding shows the fields in two equal columns, and a newly added row starts unfolded. - The Cancel and Apply row stays at the page's scroll edge and carries the notes that explain a blocked or refused save. - The create form pairs Provider ID with the display name and the protocol with the endpoint. - An installed catalog route with no list of its own states that it serves the whole built-in catalog instead of two contradicting lines; a missing key is worded beside its dot. The provider-card slot now renders before the editor in the setup card and the add card, as it already did in a provider row, so the action row ends every card.
2.1 KiB
2.1 KiB
- dialog "设置":
- text: 设置
- navigation:
- button "通用设置"
- button "模型"
- button "插件管理"
- button "Agent 预设"
- button "远程连接"
- button "打开配置文件"
- button "关闭"
- heading "模型" [level=2]
- paragraph: 填入各提供商的 API 密钥即可使用其模型。
- list:
- listitem:
- text: minimax-cn
- img "API 密钥已配置"
- button "编辑 minimax-cn": 编辑
- button "删除 minimax-cn": 删除
- listitem:
- text: Acme 网关 acme-gateway 自定义
- button "删除 Acme 网关 (acme-gateway)": 删除
- text: API 密钥
- textbox "API 密钥":
- /placeholder: 输入 API 密钥
- region "模型":
- button "模型" [expanded]
- text: 已自定义
- button "恢复默认"
- button "获取可用模型"
- textbox "模型 ID 1":
- /placeholder: 模型 ID
- text: order-second
- text: 显示名称
- textbox "显示名称 1":
- /placeholder: 显示名称
- text: 手机上的完整显示名称
- button "模型选项 1" [expanded]
- button "删除模型 1"
- text: 上下文窗口
- textbox "上下文窗口 1":
- /placeholder: 1M
- text: 最大输出 token 数
- textbox "最大输出 token 数 1":
- /placeholder: 128K
- group "输入类型 1":
- text: 输入类型
- checkbox "文本" [checked] [disabled]
- text: 文本
- checkbox "图片"
- text: 图片
- group "推理等级 1":
- text: 推理等级
- button "推理等级说明": "?"
- switch "推理等级 1"
- text: order-third
- button "模型选项 2"
- button "删除模型 2"
- text: acme-large
- button "模型选项 3"
- button "删除模型 3"
- button "添加模型"
- region "高级设置":
- button "高级设置"
- button "取消"
- button "保存"
- listitem:
- button "添加模型提供商"