Files
deepseek-harness/apps/web/tests/snapshots/models-settings/declared-edit.expected.md
T
Yichen Jiang 9333fad6e1 test(web): carry the plugin-config nav item into the models-settings golden
Master regenerated this dialog golden on its own side, where the section does
not exist; the refreshed file differs from it by exactly the one nav row.
2026-08-11 18:58:37 +08:00

2.1 KiB

  • dialog "设置":
    • navigation:
      • text: 设置
      • button "通用设置":
        • img
        • text: 通用设置
      • button "模型":
        • img
        • text: 模型
      • button "Agent 预设":
        • img
        • text: Agent 预设
      • button "插件配置":
        • img
        • text: 插件配置
    • button "打开配置文件"
    • button "关闭":
      • img
      • text: 关闭
    • heading "模型" [level=2]
    • paragraph: 填入各提供方的 API 密钥即可使用其模型。
    • list:
      • listitem:
        • text: minimax-cn
        • img "API 密钥已配置"
        • button "编辑 minimax-cn": 编辑
        • button "删除 minimax-cn": 删除
      • listitem:
        • text: Acme Gateway 自定义
        • button "编辑 Acme Gateway (acme-gateway)": 编辑
        • button "删除 Acme Gateway (acme-gateway)": 删除
        • text: Acme Gateway acme-gateway API 密钥
        • textbox "API 密钥":
          • /placeholder: 输入 API 密钥,或留空使用环境认证
        • group:
          • text: 自定义设置 显示名称
          • textbox "显示名称":
            • /placeholder: acme-gateway
            • text: Acme Gateway
          • text: API 地址
          • textbox "API 地址":
          • text: API 协议
          • combobox "API 协议":
            • option "openai-completions" [selected]
            • option "openai-responses"
            • option "anthropic-messages"
          • region "模型目录":
            • text: 模型目录 已自定义模型目录
            • button "恢复默认模型"
            • button "获取可用模型"
            • textbox "模型 ID 1":
              • /placeholder: 模型 ID
              • text: acme-large
            • textbox "显示名称 1":
              • /placeholder: 显示名称
            • button "容量 1"
            • button "删除模型 1"
            • button "添加模型"
        • button "取消"
        • button "保存"
    • button "添加提供方":
      • img
      • text: 添加提供方
    • button "添加自定义提供方":
      • img
      • text: 添加自定义提供方