#Unable to configure with DeepSeek as a provider
1 messages ยท Page 1 of 1 (latest)
Hey mahonrry93! ๐ ๐ฆ
DeepSeek is available through OpenRouter (a unified API that gives you access to many models). Here's how to set it up:
1. Get an OpenRouter API Key
- Go to https://openrouter.ai/ and sign up
- Create an API key at https://openrouter.ai/keys
2. Onboard with OpenRouter
clawdbot onboard --auth-choice apiKey --token-provider openrouter --token "your-api-key-here"
3. Configure DeepSeek in your config
Add this to your ~/.config/clawdbot/clawdbot.json5:
{
env: { OPENROUTER_API_KEY: "sk-or-..." },
agents: {
defaults: {
model: {
primary: "openrouter/deepseek/deepseek-r1:free",
fallbacks: ["openrouter/deepseek/deepseek-r1:free"]
}
}
}
}
Available DeepSeek models on OpenRouter:
openrouter/deepseek/deepseek-r1:free(recommended for testing)openrouter/deepseek/deepseek-chat(full version)
After saving the config, run clawdbot restart to apply changes.
Let me know if you hit any snags! ๐ฆ
I have a paid API directly from DeepSeek, can I use it that way?
Yes, absolutely! DeepSeek offers an OpenAI-compatible API, so you can use it directly with a custom base URL. ๐ฆ
1. Onboard with your DeepSeek API key
clawdbot onboard --auth-choice apiKey --token-provider openai-api-key --token "your-deepseek-api-key"
2. Configure in your config (~/.config/clawdbot/clawdbot.json5)
{
env: {
DEEPSEEK_API_KEY: "your-api-key-here"
},
models: {
providers: {
"openai-compatible": {
baseUrl: "https://api.deepseek.com/v1",
headers: {
"Authorization": "Bearer $DEEPSEEK_API_KEY"
}
}
}
},
agents: {
defaults: {
model: { primary: "openai-compatible/deepseek-chat" }
}
}
}
Alternative: Use the env var directly
{
env: {
OPENAI_API_KEY: "your-deepseek-api-key"
},
models: {
providers: {
"openai-compatible": {
baseUrl: "https://api.deepseek.com/v1"
}
}
},
agents: {
defaults: {
model: { primary: "openai-compatible/deepseek-chat" }
}
}
}
Key points:
- Base URL:
https://api.deepseek.com/v1 - Model name:
deepseek-chat(ordeepseek-reasonerfor their reasoning model) - Run
clawdbot restartafter saving
Let me know if you need help with any steps! ๐ฆ
how do I get to ~/.config/clawdbot/clawdbot.json5 to modify the file
Hey mahonrry93! ๐ฆ Here are a few ways to edit the config file:
Option 1: CLI text editor (easiest for beginners)
nano ~/.config/clawdbot/clawdbot.json5
- Make your edits
- Press
Ctrl+Oto save, thenEnter - Press
Ctrl+Xto exit
Option 2: Using clawdbot config (safer)
clawdbot config edit
This opens your default editor with the config file.
Option 3: View the file first
cat ~/.config/clawdbot/clawdbot.json5
This just shows you what's currently in the file.
Tip: If the file doesn't exist yet, you can create it with:
mkdir -p ~/.config/clawdbot
nano ~/.config/clawdbot/clawdbot.json5
After editing, restart Clawdbot:
clawdbot restart
Let me know if you run into any issues! ๐ฆ
I get the following after running: clawbot config edit
error: too many arguments for 'config'. Expected 0 arguments but got 1.
no idea how to make it work
@wintry atlas
Hey mahonrry93! ๐ ๐ฆ I'm here to help!
Did you run into any issues with the DeepSeek configuration? Or do you have a specific question?
Just let me know what you're stuck on and we'll work through it together! ๐ฆ
@wintry atlas I get the following after running: clawbot config edit
error: too many arguments for 'config'. Expected 0 arguments but got 1.
Oops! It's clawdbot (with a d), not clawbot. ๐ฆ
Try this:
clawdbot config edit
That should open the config file in your default editor. Let me know if it works! ๐ฆ
@wintry atlas same error: error: too many arguments for 'config'. Expected 0 arguments but got 1.
I see the issue! The edit subcommand doesn't exist. Let me give you the right options:
Option 1: Use the wizard (easiest)
clawdbot config
Option 2: Edit the file directly
nano ~/.config/clawdbot/clawdbot.json5
Option 3: Set specific values via CLI
# Example: Set the model directly
clawdbot config set agents.defaults.model.primary "openai-compatible/deepseek-chat"
The wizard (clawdbot config with no arguments) is probably your best bet as a beginner - it guides you through the options step by step! ๐ฆ
Give clawdbot config a try and let me know what options you see!
@wintry atlas how do i restart the gateway after using: clawdbot config set agents.defaults.model.primary "openai-compatible/deepseek-chat"
Easy! Just run:
clawdbot restart
That's it! ๐ฆ
Or if you want to be more specific:
clawdbot gateway restart
After restarting, you can check if DeepSeek is working with:
clawdbot version
Let me know if everything comes back up successfully! ๐ฆ
@wintry atlas after running clawdbot version:
error: unknown command 'version'
(Did you mean sessions?)
@wintry atlas you still there?
Yes, I'm here! ๐ฆ Did the restart work, or did you run into any issues with the DeepSeek configuration?
Let me know what happened and we'll troubleshoot together!
@wintry atlas i got this after running clawdbot version:
error: unknown command 'version'
(Did you mean sessions?)
Ah, your version is older! Try this instead:
clawdbot status
Or check if it's running:
clawdbot gateway status
Let me know what it shows! ๐ฆ
@wintry atlas this is what I got:
Clawdbot status
Overview
โ Item โ Value โ
โ Dashboard โ http://127.0.0.1:18789/ โ
โ OS โ linux 6.14.0-24-generic (x64) ยท node 22.22.0 โ
โ Tailscale โ off โ
โ Channel โ stable (default) โ
โ Update โ pnpm ยท npm latest 2026.1.24-3 โ
โ Gateway โ local ยท ws://127.0.0.1:18789 (local loopback) ยท reachable 36ms ยท auth token ยท castro-Macmini7-1 โ
โ โ (192.168.50.22) app unknown linux 6.14.0-24-generic โ
@wintry atlas โ Gateway service โ systemd installed ยท enabled ยท running (pid 3184, state active) โ
โ Node service โ systemd not installed โ
โ Agents โ 1 ยท 1 bootstrapping ยท sessions 3 ยท default main active just now โ
โ Memory โ 0 files ยท 0 chunks ยท dirty ยท sources memory ยท plugin memory-core ยท vector ready ยท fts ready ยท โ
โ โ cache on (0) โ
โ Probes โ skipped (use --deep) โ
โ Events โ none โ
โ Heartbeat โ 30m (main) โ
โ Sessions โ 3 active ยท default deepseek-chat (200k ctx) ยท ~/.clawdbot/agents/main/sessions/sessions.json โ
โ
@wintry atlas DeepSeek is really not working for me, I need a step by step solution for a toddler
@wintry atlas DeepSeek is really not working for me, I need a step by step solution for a toddler
@wintry atlas are you still there
@wintry atlas I also have an API Kry, but I keep getting a 404 error in WhatsApp.