客户端接入
Goose 接入
Goose 可添加自定义 OpenAI Compatible 提供方。运行:
goose configure依次选择 Custom Providers → Add A Custom Provider,然后填写:
| 字段 | 值 |
|---|---|
| API Type | OpenAI Compatible |
| Name | lumoswitch |
| API URL | https://api.lumoswitch.com/v1/chat/completions |
| Authentication | Yes |
| API Key | Lumoswitch Access Key |
| Available Models | 配置 API 的对外模型名称 |
| Streaming Support | Yes(候选资源支持时) |
也可在 Goose Desktop 的 Models → Configure providers → Add Custom Provider 中填写相同内容。Key 会进入系统钥匙串;钥匙串不可用时可能写入本地 secrets 文件。
内置 OpenAI Provider 也支持 OPENAI_HOST,但自定义提供方更适合区分多个推理地址和模型。