#Unable to configure with DeepSeek as a provider

1 messages ยท Page 1 of 1 (latest)

obtuse axle
#

@wintry atlas can you assist me?

wintry atlasBOT
#

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

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! ๐Ÿฆ

obtuse axle
#

I have a paid API directly from DeepSeek, can I use it that way?

wintry atlasBOT
# obtuse axle 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 (or deepseek-reasoner for their reasoning model)
  • Run clawdbot restart after saving

Let me know if you need help with any steps! ๐Ÿฆ

obtuse axle
#

how do I get to ~/.config/clawdbot/clawdbot.json5 to modify the file

wintry atlasBOT
# obtuse axle 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+O to save, then Enter
  • Press Ctrl+X to 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! ๐Ÿฆ

obtuse axle
#

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

wintry atlasBOT
# obtuse axle <@1457407575476801641>

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! ๐Ÿฆ

obtuse axle
#

@wintry atlas I get the following after running: clawbot config edit
error: too many arguments for 'config'. Expected 0 arguments but got 1.

wintry atlasBOT
obtuse axle
#

@wintry atlas same error: error: too many arguments for 'config'. Expected 0 arguments but got 1.

wintry atlasBOT
#

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!

obtuse axle
#

@wintry atlas how do i restart the gateway after using: clawdbot config set agents.defaults.model.primary "openai-compatible/deepseek-chat"

wintry atlasBOT
#

Let me know if everything comes back up successfully! ๐Ÿฆ

obtuse axle
#

@wintry atlas after running clawdbot version:
error: unknown command 'version'
(Did you mean sessions?)

obtuse axle
#

@wintry atlas you still there?

wintry atlasBOT
obtuse axle
#

@wintry atlas i got this after running clawdbot version:
error: unknown command 'version'
(Did you mean sessions?)

wintry atlasBOT
obtuse axle
#

@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

obtuse axle
#

@wintry atlas are you still there

frigid pike
#

@wintry atlas I also have an API Kry, but I keep getting a 404 error in WhatsApp.