- Add buildDeepSeekProvider() with deepseek-chat and deepseek-reasoner models - Register in resolveImplicitProviders() for auto-discovery via DEEPSEEK_API_KEY - Add DEEPSEEK_API_KEY to env var mapping in model-auth.ts - Add unit tests for provider builder and implicit resolution - Add documentation at docs/providers/deepseek.md Closes #3393
1.3 KiB
1.3 KiB
| summary | read_when | |||
|---|---|---|---|---|
| Configure DeepSeek API (Chat + Reasoner models) |
|
DeepSeek
DeepSeek provides cost-effective AI models with OpenAI-compatible endpoints. Moltbot supports both the Chat and Reasoner models.
Models
| Model ID | Name | Reasoning | Context |
|---|---|---|---|
deepseek-chat |
DeepSeek Chat | No | 64K |
deepseek-reasoner |
DeepSeek Reasoner | Yes | 64K |
Quick start
moltbot onboard --auth-choice deepseek-api-key
Or set the environment variable:
export DEEPSEEK_API_KEY="sk-..."
moltbot models set deepseek/deepseek-chat
Config snippet
{
env: { DEEPSEEK_API_KEY: "sk-..." },
agents: {
defaults: {
model: { primary: "deepseek/deepseek-chat" }
}
}
}
Using the Reasoner model
For tasks requiring chain-of-thought reasoning:
{
agents: {
defaults: {
model: { primary: "deepseek/deepseek-reasoner" }
}
}
}
Notes
- DeepSeek uses an OpenAI-compatible API at
https://api.deepseek.com - Get your API key from platform.deepseek.com
- Pricing is very competitive compared to other providers