Settings -> Models
模型配置
Wisp Science 的桌面版使用模型 profile 管理远程 API 后端。每个 profile 可以配置 provider、API URL、模型 ID、高级参数和独立 API key。
[ 001 ]
Provider types
OpenAI-compatible
DeepSeek、GLM、本地网关,或任何兼容 /chat/completions 的服务。需要 API URL、Model ID 和 API key。
OpenAI Responses
通过 /v1/responses 使用 OpenAI reasoning / tool-call 模型。需要 API URL、Model ID 和 API key。
Anthropic API
通过 /v1/messages 使用 Claude API。需要 API URL、Model ID 和 API key。
Keyring + SQLite
API key 存入系统 keyring;profile 名称、provider、URL、模型 ID 和能力标注存入项目的 .wisp/wisp.sqlite。
[ 002 ]
Fields
常用字段
桌面版在 Settings -> Models 中配置。多个 profile 可以并存,随时切换 active profile。
| 字段 | 适用后端 | 说明 |
|---|---|---|
| Display name | 全部 | 在 UI 中显示的 profile 名称。 |
| Provider | 全部 | 选择 OpenAI-compatible、OpenAI Responses 或 Anthropic。 |
| Model ID | 全部 | 远程 API 的模型名。 |
| API URL / API key | API provider | 远程 API 的 base URL 和密钥。桌面版密钥不写入 SQLite。 |
[ 003 ]
CLI
Headless CLI
wisp-science headless CLI 使用环境变量配置远程 API provider。
export WISP_PROVIDER=openai export WISP_API_URL=https://api.deepseek.com export WISP_MODEL=deepseek-chat export WISP_API_KEY=<your provider key>