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).
21 lines
471 B
Markdown
21 lines
471 B
Markdown
- dialog "设置":
|
|
- navigation:
|
|
- text: 设置
|
|
- button "通用设置":
|
|
- img
|
|
- text: 通用设置
|
|
- button "模型":
|
|
- img
|
|
- text: 模型
|
|
- button "关闭":
|
|
- img
|
|
- text: 关闭
|
|
- heading "模型" [level=2]
|
|
- paragraph: 填入各提供方的 API 密钥即可使用其模型。
|
|
- list:
|
|
- listitem:
|
|
- text: minimax-cn 已启用
|
|
- button "编辑"
|
|
- button "删除"
|
|
- button "+ 添加提供方"
|