docs: add Moonshot provider setup

This commit is contained in:
Peter Steinberger
2026-01-12 06:47:57 +00:00
parent 496bad8b98
commit 79cbb20988
6 changed files with 148 additions and 3 deletions

View File

@@ -110,6 +110,34 @@ Clawdbot ships with the piai catalog. These providers require **no**
Use `models.providers` (or `models.json`) to add **custom** providers or
OpenAI/Anthropiccompatible proxies.
### Moonshot AI (Kimi)
Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
- Provider: `moonshot`
- Auth: `MOONSHOT_API_KEY`
- Example model: `moonshot/kimi-k2-0905-preview`
- CLI: `clawdbot onboard --auth-choice moonshot-api-key`
```json5
{
agents: {
defaults: { model: { primary: "moonshot/kimi-k2-0905-preview" } }
},
models: {
mode: "merge",
providers: {
moonshot: {
baseUrl: "https://api.moonshot.ai/v1",
apiKey: "${MOONSHOT_API_KEY}",
api: "openai-completions",
models: [{ id: "kimi-k2-0905-preview", name: "Kimi K2 0905 Preview" }]
}
}
}
}
```
### MiniMax
MiniMax is configured via `models.providers` because it uses custom endpoints: