Files
deepseek-harness/apps/web/tests/snapshots/models-settings/empty.expected.md
Yichen Jiang d1bfdbff84 feat(ui-models)!: single-key hand-written provider editors with derived credential references
The Models page drops the generic schema renderer and the visible
environment-variable field: each editor is a curated per-family card whose
primary input is one write-only API key stored under a derived
<ROUTE>_API_KEY reference (recorded as apiKeyEnv in the pi-ai profile), an
unkeyed whole-section provider opens as its setup card, and the collapsed
customized-settings fold carries baseURL/reasoningEffort (deepseek) or
reasoning (pi-ai). dsh-client-schema-form reduces to the schema/draft model
layer (no React).
2026-07-30 12:17:56 +08:00

1.5 KiB

  • dialog "设置":
    • navigation:
      • text: 设置
      • button "通用设置":
        • img
        • text: 通用设置
      • button "模型":
        • img
        • text: 模型
    • button "关闭":
      • img
      • text: 关闭
    • heading "模型" [level=2]
    • paragraph: 填入各提供方的 API 密钥即可使用其模型。
    • list
    • text: 提供方
    • combobox "提供方":
      • option "amazon-bedrock"
      • option "ant-ling"
      • option "anthropic"
      • option "azure-openai-responses"
      • option "cerebras"
      • option "cloudflare-ai-gateway"
      • option "cloudflare-workers-ai"
      • option "deepseek"
      • option "fireworks"
      • option "github-copilot"
      • option "google"
      • option "google-vertex"
      • option "groq"
      • option "huggingface"
      • option "kimi-coding"
      • option "minimax"
      • option "minimax-cn" [selected]
      • option "mistral"
      • option "moonshotai"
      • option "moonshotai-cn"
      • option "nvidia"
      • option "openai"
      • option "openai-codex"
      • option "opencode"
      • option "opencode-go"
      • option "openrouter"
      • option "qwen-token-plan"
      • option "qwen-token-plan-cn"
      • option "together"
      • option "vercel-ai-gateway"
      • option "xai"
      • option "xiaomi"
      • option "xiaomi-token-plan-ams"
      • option "xiaomi-token-plan-cn"
      • option "xiaomi-token-plan-sgp"
      • option "zai"
      • option "zai-coding-cn"
    • text: API 密钥
    • textbox "API 密钥":
      • /placeholder: 输入 API 密钥
    • group: 自定义设置
    • button "取消"
    • button "保存"