#Cannot create new sessions.

1 messages Β· Page 1 of 1 (latest)

gloomy plank
#

When I press the "New session" button on chat, the "/new" command appears then disappears really fast but it doesn't clear it. I am still on the same session.

warm coralBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> βœ… Mark Solution

gloomy plank
#

@prime laurel Can you help me?

prime laurelBOT
# gloomy plank When I press the "New session" button on chat, the "/new" command appears then d...

Based on my research, this is a known Discord interaction issue where the slash command UI doesn't properly execute when triggered via a button click. Here's how to fix it:

Quick Workaround

Instead of clicking the "New session" button, manually type /new in the chat and press enter. This should work reliably.

If the Button Issue Persists

1. Check if commands are registered

Run this to verify Discord slash commands are synced:

clawdbot channels status --probe

2. Force re-register commands

Restart the gateway to sync commands:

#
clawdbot gateway restart

Or if using the daemon:

clawdbot daemon restart

3. Verify Discord permissions

Ensure your bot has:

  • Applications.commands scope (in OAuth2)
  • Message Content Intent enabled (in Bot settings β†’ Privileged Gateway Intents)

4. Check config

Make sure native commands aren't disabled:

#
{
  channels: {
    discord: {
      commands: {
        native: "auto"  // or true
      }
    }
  }
}

TL;DR: Type /new manually as a workaround. If the button never works, it's a Discord UI quirkβ€”manually typing the command is the reliable method.

Let me know if manual /new works or if you're still having issues after restarting! 🦐

prime laurelBOT
# gloomy plank <@1457407575476801641> Can you help me?

Hey @native yacht! πŸ‘‹

The "New session" button issue you're seeing is a Discord UI quirk where the slash command appears but doesn't fully execute. Here's what to do:

βœ… Quick Fix

Instead of clicking the button, manually type /new and press Enter. This reliably creates a fresh session.

πŸ”§ If It Still Doesn't Work

  1. Restart the gateway to sync commands:

    clawdbot gateway restart
    
  2. Verify permissions - make sure your Discord bot has:

    • applications.commands scope
    • Message Content Intent enabled (Bot β†’ Privileged Gateway Intents)
#
  1. Check the logs if issues continue:
    clawdbot logs --follow
    

Let me know if manually typing /new works or if you need more help! 🦐

gloomy plank
#

No manually typing "/new" doesn't work. I also restarted the gateway but still no luck @prime laurel

river plinth
#

hello @prime laurel im facing new issue can ishare?---im uning google gemini key

prime laurelBOT
# gloomy plank No manually typing "/new" doesn't work. I also restarted the gateway but still n...

Okay, that's more concerning. Let's debug this systematically. Can you run a few checks for me?

πŸ” Debug Steps

1. Check gateway status:

clawdbot status

Paste the output here - I need to see if the gateway is healthy and if sessions are detected.

2. Check channel permissions in that specific channel:
The channel is called "Cannot create new sessions" - there might be a restriction. Run:

clawdbot channels status --probe

3. Look at recent logs when you tried /new:

gloomy plank
#

@prime laurel

prime laurelBOT
#
clawdbot logs --follow

Then send /new in Discord and tell me what appears in the logs.

4. Try /status instead:
Does /status work as a standalone message? This will tell us if commands are being processed at all.


⚠️ Quick Theory

Is this channel maybe set up with restricted access? The channel name suggests it might have special rules. Check if there's a sendPolicy or channel-specific restriction in your config:

cat ~/.clawdbot/clawdbot.json | grep -A 20 "discord"
river plinth
#

I'm encountering a persistent 404 Not Found error when using the Gemini 1.5 Flash model with the latest version of Moltbot (Clawdbot). Even though the model is correctly configured, the bot seems to be sending an incorrect path structure to the Google API.--{
"error": {
"code": 404,
"message": "models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent.",
"status": "NOT_FOUND"
}
}

prime laurelBOT
#

Or if you're in a multi-agent setup, check the agent config for that channel.

Let me know what you find! 🦐

prime laurelBOT
gloomy plank
#

@river plinth Make your own post bro

river plinth
gloomy plank
#

No its better to get a new post so that the bot doesn't get confused with multiple things

prime laurelBOT
# gloomy plank <@1457407575476801641>

I see the Sessions dashboard with one active session for +18086738055 (highlighted in red).

What specifically are you seeing as the issue here, Jack?

  • Is the red phone number the problem (indicating an error state)?
  • Is the /new command not creating a new row in this list?
  • Or is this separate from the Gemini key issue you mentioned?

Let me know what you expect to see vs. what's happening! 🦐

#

Ha! Fair point, Jack πŸ˜‚ You can ask in #help channel (that's what it's for!), or if it's a bug, open a GitHub issue: https://github.com/clawdbot/clawdbot/issues


Back to you, @gloomy plank πŸ‘‹

Did you get a chance to run those debug commands? I want to figure out why /new isn't working for you:

  1. clawdbot status - is gateway healthy?
  2. clawdbot channels status --probe - any channel issues?
  3. /status in chat - does any command work?

Let me know what you find! 🦐

river plinth
#

done created post ty

prime laurelBOT
# river plinth I'm encountering a persistent 404 Not Found error when using the Gemini 1.5 Flas...

Ah, that's a different issue! The 404 error is about the API version/path, not the session problem.

The error says:

models/gemini-1.5-flash is not found for API version v1beta

This means Clawdbot is sending requests to the wrong API endpoint. Google Gemini 1.5 Flash requires the v1 API, not v1beta.

πŸ”§ Quick Fix

Check your model configuration and make sure it's using the correct model ID:

{
  agents: {
#
    defaults: {
      models: {
        "google/gemini-1.5-flash": {
          provider: "google",
          api: "v1"  // ← This might be missing or set to "v1beta"
        }
      }
    }
  }
}

Or if you're using the alias, ensure it's mapped correctly:

#
{
  agents: {
    defaults: {
      model: { primary: "google/gemini-1.5-flash" }
    }
  }
}

Common model IDs that work:

  • google/gemini-1.5-flash
  • google/gemini-1.5-pro
  • google/gemini-2.0-flash-exp

#

Jack, can you share your model config? Run:

cat ~/.clawdbot/clawdbot.json | grep -A 10 "models"

Or check /model status in chat to see what model the bot is actually trying to use. 🦐

river plinth
#

cat ~/.clawdbot/clawdbot.json | grep -A 10 "models"
"models/gemini-1.5-flash",
"anthropic/gemini-1.5-flash"
]
},
"models": {
"google/gemini-1.5-flash-latest": {},
"google/gemini-3-pro-preview": {
"alias": "gemini"
},
"google/gemini-2.0-flash": {},
"models/gemini-1.5-flash": {},
"anthropic/gemini-1.5-flash": {}
},
"workspace": "/home/aman/clawd",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}

#

@prime laurel

#

here

prime laurelBOT
river plinth
#

"models/gemini-1.5-flash",
"anthropic/gemini-1.5-flash"
]
},
"models": {
"google/gemini-1.5-flash-latest": {},
"google/gemini-3-pro-preview": {
"alias": "gemini"
},
"google/gemini-2.0-flash": {},
"models/gemini-1.5-flash": {},
"anthropic/gemini-1.5-flash": {}
},
"workspace": "/home/aman/clawd",
"compaction": {
"mode": "safeguard"
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}

#

you can see?

prime laurelBOT
#
models/gemini-1.5-flash is not found
            ↑
            This path is wrong - it's missing "google/"

πŸ”§ Fix Your Config

Edit ~/.clawdbot/clawdbot.json and fix the models section:

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "google/gemini-1.5-flash",
#
        "fallbacks": ["google/gemini-1.5-flash-latest"]
      },
      "models": {
        "google/gemini-1.5-flash": {},
        "google/gemini-1.5-flash-latest": {},
        "google/gemini-3-pro-preview": {
          "alias": "gemini"
        },
        "google/gemini-2.0-flash": {}
      }
    }
  }
}

Then restart the gateway:

#
clawdbot gateway restart

Remove the invalid entries:

  • models/gemini-1.5-flash (bad format)
  • anthropic/gemini-1.5-flash (wrong provider - Anthropic doesn't have Gemini!)

Let me know once you've fixed it! 🦐

prime laurelBOT
# river plinth you can see?

Yes, I can see it! That's how I found the issue in your config πŸ”

Go ahead and fix those model IDs as I showed above, then restart. Let me know if it works! 🦐

river plinth
#

[clawdbot] LLM error: {
"error": {
"code": 404,
"message": "models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.",
"status": "NOT_FOUND"
}
}

#

@prime laurel

river plinth
#

?

#

@prime laurel

prime laurelBOT
# river plinth ?

Still here! πŸ‘‹

Did you get a chance to fix the config? Or do you need help with something else? 🦐

river plinth
#

no -- still same issue-[clawdbot] LLM error: {
"error": {
"code": 404,
"message": "models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent. Call ListModels to see the list of available models and their supported methods.",
"status": "NOT_FOUND"
}
}

#

@prime laurel

prime laurelBOT
# river plinth <@1457407575476801641>

Hey! Still waiting to hear back πŸ‘‹

Did you fix the config as I showed, or are you still stuck?

If you need help editing the file, I can walk you through it step by step. Just let me know what's happening! 🦐

river plinth
# prime laurel Hey! Still waiting to hear back πŸ‘‹ **Did you fix the config** as I showed, or ...

no --I have updated the clawdbot.json config exactly as suggested, ensuring all model IDs use the google/ provider prefix. However, the bot is still failing with a 404 Not Found error.

The Issue: Even though the config specifies google/gemini-1.5-flash, the logs show that the bot is internally stripping the google/ prefix and sending the request as models/gemini-1.5-flash to the Google v1beta endpoint.

Error Log: "message": "models/gemini-1.5-flash is not found for API version v1beta, or is not supported for generateContent."

#

Root Cause: It appears the code is ignoring the provider prefix from the configuration or hardcoding the models/ prefix during path construction. Since the Google API for v1beta doesn't recognize this path format, it rejects the call.

prime laurelBOT
# river plinth no --I have updated the clawdbot.json config exactly as suggested, ensuring all...

Found it! There's an open bug report for this:

πŸ”΄ Known Bug: GitHub Issue #795

[Bug]: Gemini 3 models return 404 Not Found - Invalid model ID

Clawdbot sends the full model ID including the provider prefix to the Google Generative AI API, but the API expects only the model name without the prefix.

URL: https://github.com/clawdbot/clawdbot/issues/795


πŸ“‹ Current Workaround

Until this is fixed, you can:

  1. Check if there's a newer version that fixes it:
#
   clawdbot --version
  1. Update to latest if available:

    cd ~/clawd && git pull && pnpm install && pnpm build
    
  2. Or use a different model temporarily (Anthropic, OpenAI, etc.)


Jack, can you:

  1. Check your Clawdbot version?
  2. Confirm this is the same bug by starring/watching that GitHub issue?
#

Let me know! 🦐

prime laurelBOT
# river plinth Root Cause: It appears the code is ignoring the provider prefix from the configu...

Exactly right, Jack! 🎯 The code is hardcoding models/ instead of stripping the provider prefix correctly.

This is exactly what's tracked in Issue #795 - you're experiencing the same bug.

Options:

  1. Star the GitHub issue to get updates when it's fixed
  2. Check if there's a newer version that addresses it:
    clawdbot --version
    cd ~/clawd && git pull && pnpm install && pnw build && clawdbot daemon restart
    
  3. Use a different model for now (Anthropic, OpenAI, MiniMax)
  4. Contribute a fix if you're feeling adventurous! The fix is likely in the Google provider code

#

Want me to help you set up a different model as a workaround? Or do you want to dive into the code and try fixing it? 🦐

prime laurelBOT
# river plinth clawdbot --version 2026.1.24-3

Good news: Issue #795 was fixed on Jan 12, 2026! The commit was merged: ab99390 - "Models: normalize Gemini 3 ids in runtime selection"

Why you're still seeing it: The fix might not be in your installed version, or the patch needs to be reapplied.

Try This:

1. Pull latest and rebuild:

cd ~/clawd
git pull
pnpm install
pnpm build
clawdbot daemon restart

2. If that doesn't work, manually patch the file:
The fix adds this to patches/@mariozechner__pi-ai@0.43.0.patch:

#
// In dist/providers/google.js, change:
model: model.id,

// To:
model: model.id.includes('/') ? model.id.split('/').pop() : model.id,

3. Or just wait for the next release - the fix is already in main.


Jack, try updating from git first. Let me know if it works! 🦐

river plinth
#

this error happening

prime laurelBOT
#
clawdbot daemon restart

Let me know how it goes! 🦐

prime laurelBOT
# river plinth this error happening

Found it! The Stack Overflow post explains:

Gemini 1.5 models require the v1 API, NOT v1beta!

The Problem

Google's API is being sent v1beta when it should be v1. This is why you're seeing:

"models/gemini-1.5-flash is not found for API version v1beta"

Try the Correct Model ID

Gemini 1.5 Flash needs one of these model IDs:

  • google/gemini-1.5-flash-001 (stable)
  • google/gemini-1.5-flash (alias that might work)
#

NOT:

  • google/gemini-1.5-flash-latest (might be unstable or beta-only)

Quick Fix

In your config, try:

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "google/gemini-1.5-flash-001"
      }
    }
  }
}
river plinth
# prime laurel Ah, you need to specify the branch! Try: ```bash git pull origin main ``` Or s...

~/clawd$ git pull origin main
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
aman@AMAN-DME:~/clawd$ git pull origin main --set-upstream
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

prime laurelBOT
#

Then restart and try again.


Does this model ID work for you, Jack? 🦐

prime laurelBOT
river plinth
#

pnpm install
 ERR_PNPM_NO_PKG_MANIFEST  No package.json found in /home/aman/clawd-- this error

prime laurelBOT
river plinth
prime laurelBOT
river plinth
# prime laurel Ah, you're in the wrong directory! You're in `/home/aman/clawd` but the package....

total 48
drwxr-xr-x 4 aman aman 4096 Jan 29 08:07 .
drwxr-x--- 12 aman aman 4096 Jan 29 07:49 ..
drwxr-xr-x 8 aman aman 4096 Jan 29 08:07 .git
-rw-r--r-- 1 aman aman 7848 Jan 28 06:31 AGENTS.md
-rw-r--r-- 1 aman aman 1465 Jan 28 06:31 BOOTSTRAP.md
-rw-r--r-- 1 aman aman 167 Jan 28 06:31 HEARTBEAT.md
-rw-r--r-- 1 aman aman 632 Jan 28 06:31 IDENTITY.md
-rw-r--r-- 1 aman aman 1673 Jan 28 06:31 SOUL.md
-rw-r--r-- 1 aman aman 858 Jan 28 06:31 TOOLS.md
-rw-r--r-- 1 aman aman 481 Jan 28 06:31 USER.md
drwxrwxr-x 2 aman aman 4096 Jan 28 06:32 canvas

#

the right folder is this --cd ~/clawdbot-fixed should go this one

prime laurelBOT
prime laurelBOT
# river plinth you sure that works?

Ha, good question πŸ˜„ Let me check - did the commands run successfully?

  1. Did pnpm install and pnpm build finish without errors?
  2. Did you run clawdbot daemon restart?
  3. Are you still getting the same v1beta error?

If any step failed or you're still seeing the error, let me know what the exact error message is now!

Or if you're stuck, just share what you see and I'll help debug further. 🦐

river plinth
#

should i give logs details error ? to get right error

prime laurelBOT
# river plinth should i give logs details error ? to get right error

Yes, please! Share the exact error you're seeing:

  1. Run this to get recent logs:

    clawdbot logs --follow
    

    Then send a message to the bot and capture the error.

  2. Or check the log file directly:

    tail -50 "$(ls -t /tmp/clawdbot/clawdbot-*.log | head -1)"
    
  3. Also show your current model config:

    cat ~/.clawdbot/clawdbot.json | grep -A 5 "models"
    
#

Share what you get and I'll pinpoint the exact issue! 🦐

prime laurelBOT
# river plinth hey

Hey! Still there πŸ‘‹

Did you get the logs, or do you need help with something else? 🦐

river plinth
# prime laurel Hey! Still there πŸ‘‹ Did you get the logs, or do you need help with something e...

10:53:31 info gateway received SIGTERM; shutting down
10:53:36 info gateway/canvas canvas host mounted at http://127.0.0.1:18789/__clawdbot__/canvas/
10:53:37 info gateway agent model: google/gemini-1.5-flash-latest
10:53:37 info gateway listening on ws://127.0.0.1:18789 (PID 22395)
10:53:37 info gateway/channels/whatsapp [default] starting provider ([REDACTED])
10:53:42 info gateway/channels/whatsapp Listening for personal WhatsApp inbound messages.
10:55:05 info web-inbound {"from":"[REDACTED]","to":"[REDACTED]","body":"how are you?"} inbound message
10:55:06 error diagnostic lane task error: lane=main error="Error: Unknown model: google/gemini-1.5-flash-latest"
10:55:06 error diagnostic lane task error: lane=session:agent:main:main error="Error: Unknown model: google/gemini-1.5-flash-latest"
10:55:06 error Embedded agent failed before reply: Unknown model: google/gemini-1.5-flash-latest
10:55:06 info web-auto-reply [clawdbot] ⚠️ Agent failed before reply: Unknown model: google/gemini-1.5-flash-latest.

#

here is latest error

#

@prime laurel

river plinth
# prime laurel Hey! Still there πŸ‘‹ Did you get the logs, or do you need help with something e...

11:04:13 info web-inbound {"module":"web-inbound"} {"from":"+918....30","to":"+91.....0","body":"hi","timestamp":1769684655000} inbound message
11:04:13 info web-auto-reply {"module":"web-auto-reply","runId":"06a0ec7.........f-816b-cfef7e4b374b"} {"connectionId":"925579e1-c908-4683-9..........b50","correlationId":"3EB0.......0913640","from":"+918...30","to":"+918....30","body":"[WhatsApp +918....130 +22s 2026-01-29 11:04 UTC] hi","mediaType":null,"mediaPath":null} inbound web message
11:04:13 info gateway/channels/whatsapp/inbound {"subsystem":"gateway/channels/whatsapp/inbound"} Inbound message +918.....30 -> +918.....0 (direct, 53 chars)
11:04:13 debug diagnostic {"subsystem":"diagnostic"} lane enqueue: lane=session:agent:main:main queueSize=1
11:04:13 debug diagnostic {"subsystem":"diagnostic"} lane dequeue: lane=session:agent:main:main waitMs=9 queueSize=0
11:04:13 debug diagnostic {"subsystem":"diagnostic"} lane enqueue: lane=main queueSize=1
11:04:13 debug diagnostic {"subsystem":"diagnostic"} lane dequeue: lane=main waitMs=1 queueSize=0
11:04:13 error diagnostic {"subsystem":"diagnostic"} lane task error: lane=main durationMs=0 error="Error: Unknown model: google/gemini-1.5-flash-latest"
11:04:13 error diagnostic {"subsystem":"diagnostic"} lane task error: lane=session:agent:main:main durationMs=3 error="Error: Unknown model: google/gemini-1.5-flash-latest"
11:04:13 error Embedded agent failed before reply: Unknown model: google/gemini-1.5-flash-latest
11:04:13 debug gateway/channels/whatsapp/outbound {"subsystem":"gateway/channels/whatsapp/outbound"} Sent chunk 1/1 to +9188......30 (15ms)
11:04:13 info web-auto-reply {"module":"web-auto-reply","runId":"06a.......16b-cfef7e4b374b"} {"correlationId":"3EB........0913640","connectionId":"92........3-96bc-da40ad244b50","to":"+91...5130","from":"+918....130","text":"[clawdbot] ⚠️ Agent failed before reply: Unknown model: google/gemini-1.5-flash-latest.\nLogs: clawdbot logs --follow","mediaUrl":null,"mediaSizeBytes":null,"mediaKind":null,"durationMs":17} auto-reply sent (text)
11:04:13 info gateway/channels/whatsapp/outbound {"subsystem":"gateway/channels/whatsapp/outbound"} Auto-replied to +91.......0

prime laurelBOT
#
      "model": {
        "primary": "google/gemini-1.5-flash"  // βœ… Use this
        // OR: "google/gemini-1.5-flash-001"  // βœ… Stable version
        // OR: "google/gemini-1.5-pro"        // βœ… For more power
      }
    }
  }
}

List Available Models

Run this to see what Google models are available:

clawdbot models list | grep google
#

Then edit your config:

nano ~/.clawdbot/clawdbot.json

Change google/gemini-1.5-flash-latest to google/gemini-1.5-flash and restart.

Let me know what clawdbot models list shows for Google! 🦐

river plinth
#

see this error

prime laurelBOT
#

Now I see the full error! 🎯

models/gemini-1.5-flash is not found for API version v1beta

Good news: The google/ prefix is now being stripped correctly (the fix from #795 works!)

Bad news: The code is still sending to v1beta instead of v1 API.

Root Cause

Google Gemini 1.5 Flash requires the v1 API, but Clawdbot/pi-ai is sending to v1beta. This is a separate bug from #795.

Options

1. Try a different model (Gemini 2.0 might work with v1beta):

#
{
  "agents": {
    "defaults": {
      "model": {
        "primary": "google/gemini-2.0-flash-exp"
      }
    }
  }
}

2. Wait for the fix - this needs to be patched in the pi-ai library or Clawdbot's patches.

3. Use a different provider (Anthropic, OpenAI, MiniMax) for now.


#

Jack, which would you like to try? gemini-2.0-flash-exp might work since it's newer and explicitly marked as experimental/beta. 🦐

river plinth
river plinth
prime laurelBOT
#
  },
  "env": {
    "MINIMAX_API_KEY": "your-minimax-key"
  }
}

Get your key at: https://platform.minimaxi.com/


2. Ollama (Completely Free - Local)

Run models locally on your machine - no API calls, no limits!

#
# Install Ollama
curl -fsSL https://ollama.ai/install.sh | sh
ollama pull llama3.2

Config:

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "ollama/llama3.2"
      }
    }
  }
#
}

3. OpenAI (New Account Credits)

New accounts get some free credits (~$5).


My recommendation: Start with MiniMax - it's free, works out of the box, and has good performance!

Want me to help you set up MiniMax? 🦐

river plinth
prime laurelBOT
# river plinth tell me ollama one without api

Perfect! Ollama runs completely locally - no API, no internet needed.

Setup Ollama

1. Install Ollama:

curl -fsSL https://ollama.ai/install.sh | sh

2. Start Ollama service:

sudo systemctl start ollama
# or just run:
ollama serve

3. Pull a model:

#
ollama pull llama3.2      # Good balance of speed/quality
# OR
ollama pull qwen2.5:3b    # Smaller, faster
# OR  
ollama pull deepseek-r1   # Powerful reasoning

4. Test it:

ollama run llama3.2

Configure Clawdbot

#

Edit your config:

nano ~/.clawdbot/clawdbot.json

Add:

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "ollama/llama3.2"
      }
    }
  }
}
#

Then restart:

clawdbot daemon restart

Note: Local models need decent RAM (8GB+ recommended). llama3.2 is about 2GB.

Want help with any step? 🦐

river plinth
prime laurelBOT
river plinth
#

i pulled this version ollama pull llama3.2 now what should i do next?

#

@prime laurel

prime laurelBOT
#
    "defaults": {
      "model": {
        "primary": "ollama/llama3.2"
      }
    }
  }
}

3. Save and restart Clawdbot:

clawdbot daemon restart

4. Test it!
Send a message to the bot on WhatsApp and see if it replies!

#

Let me know if it works! 🦐

river plinth
# prime laurel ```json5 "defaults": { "model": { "primary": "ollama/llama3.2"...

"agents": {
"defaults": {
"model": {
"primary": "ollama/llama3.2",
"fallbacks": [
"google/gemini-1.5-flash-latest"
]
},
"models": {
"google/gemini-1.5-flash": {},
"google/gemini-1.5-flash-latest": {},
"google/gemini-3-pro-preview": {

      "alias": "gemini"
    },"google/gemini-2.0-flash" : {}
  },
  "workspace": "/home/aman/clawd",
  "compaction": {
    "mode": "safeguard"
  }   is this correct?
prime laurelBOT
#
  "models": {
    "providers": {
      "ollama": {
        "host": "http://127.0.0.1:11434"
      }
    },
    "ollama/llama3.2": {}
  }
}

Also Make Sure Ollama is Running

Run this in a separate terminal:

#
ollama serve

Quick Fix Steps:

  1. Edit config:

    nano ~/.clawdbot/clawdbot.json
    
  2. Paste the fixed config above (remove the old Google stuff)

  3. Save (Ctrl+O, Enter, Ctrl+X)

#
  1. Restart:

    clawdbot daemon restart
    
  2. Make sure Ollama is running:

    ollama serve
    

Try it and let me know! 🦐

river plinth
#

give me full code what should i write on nano ~/.clawdbot/clawdbot.json this one

#

@prime laurel

river plinth
prime laurelBOT
#
    },
    "ollama/llama3.2": {}
  }
}

Key points:

  • models.providers goes at the top level, NOT inside agents
  • models["ollama/llama3.2"] also at top level

Save this, then:

clawdbot daemon restart

Make sure Ollama is running:

#
ollama serve

Test it! 🦐

river plinth
prime laurelBOT
river plinth
#

?

prime laurelBOT
#
    }
  }
}

Option 2: Explicit Config

{
  "models": {
    "providers": {
      "ollama": {
        "baseUrl": "http://127.0.0.1:11434/v1",
#
        "apiKey": "ollama-local"
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "ollama/llama3.2"
      }
    }
  }
}

#

Quick Steps:

  1. Edit config:

    nano ~/.clawdbot/clawdbot.json
    
  2. Use Option 1 or 2 above

  3. Set env var:

    export OLLAMA_API_KEY="ollama-local"
    
  4. Restart:

#
   clawdbot daemon restart

Try it! 🦐

river plinth
#

can you tell what are tasks that clawdbot can do any command to see that?

#

@prime laurel

prime laurelBOT
# river plinth can you tell what are tasks that clawdbot can do any command to see that?

Great question! Here are the main commands:

Built-in Slash Commands

| Command       | Description                            |
| ------------- | -------------------------------------- |
| `/new`          | Start a fresh session                  |
| `/reset`        | Same as `/new`                           |
| `/model <name>` | Switch to a different model            |
| `/status`       | Show current session status            |
| `/compact`      | Summarize conversation to save context |
| `/stop`         | Cancel the current running task        |
| `/tts <text>`   | Convert text to speech                 |
| `/context`      | See what's in the system prompt        |
| `/help`         | Show help                              |
prime laurelBOT
#

Tools (What the AI Can Do)

The AI can access these tools automatically based on your config:

β€’ Web search - web_search / web_fetch
β€’ File operations - read, write, edit files
β€’ Code execution - run bash commands
β€’ Browser control - automate web browsing
β€’ Image analysis - analyze images
β€’ Memory - search and write to memory files
β€’ And more... depending on skills installed

See All Available Models

clawdbot models list
#

See All Commands in Chat

Just type / in the chat and Discord/WhatsApp will show you available commands!

What do you want the bot to help you with? 🦐

river plinth
#

error

prime laurelBOT
river plinth
#

Error: No API key found for provider "anthropic". Auth store: /home/aman/.clawdbot/agents/main/agent/auth-profiles.json (agentDir: /home/aman/.clawdbot/agents/main/agent). Configure auth for this agent (clawdbot agents add <id>) or copy auth-profiles.json from the main agentDir.

#

@prime laurel

prime laurelBOT
#
{
  "agents": {
    "defaults": {
      "model": {
        "primary": "ollama/llama3.2"
      }
    }
  }
}

3. Set the env var:

export OLLAMA_API_KEY="ollama-local"
#

4. Restart:

clawdbot daemon restart

The key is removing any Anthropic references from model.primary - it should be ollama/llama3.2 not anthropic/claude-...

What does your current config look like? 🦐

prime laurelBOT
river plinth
#

@prime laurel

#

any error you see?

prime laurelBOT
river plinth
#

here see?

prime laurelBOT
# river plinth here see?

I can't see your screen! You need to copy and paste the text from the terminal into this chat.

Steps:

  1. Run this command:
    cat ~/.clawdbot/clawdbot.json
    
  2. Highlight the text with your mouse
  3. Right-click β†’ Copy
  4. Paste it here in Discord

Just copy the text and paste it! πŸ“‹ 🦐

river plinth
#

---{
"meta": {
"lastTouchedVersion": "2026.1.24-3",
"lastTouchedAt": "2026-01-29T13:06:01.328Z"
},
"agents": {
"defaults": {
"workspace": "/home/aman/clawd",
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
},
"commands": {
"native": "auto",
"nativeSkills": "auto"
},
"messages": {
"ackReactionScope": "group-mentions"
},
"plugins": {
"entries": {
"whatsapp": {
"enabled": true
}
}
},
"gateway": {
"mode": "local",
"bind": "loopback",
"port": 18789,
"auth": {
"mode": "token",
"token": "a57c6dd,,,,,,,,f1d60c"
}
},
"wizard": {
"lastRunAt": "2026-01-29T13:06:01.323Z",
"lastRunVersion": "2026.1.24-3",
"lastRunCommand": "doctor",
"lastRunMode": "local"
}
}---

#

you cant see?

prime laurelBOT
#
      "model": {
        "primary": "ollama/llama3.2"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      }
    }
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto"
  },
  "messages": {
    "ackReactionScope": "group-mentions"
#
  },
  "plugins": {
    "entries": {
      "whatsapp": {
        "enabled": true
      }
    }
  },
  "gateway": {
    "mode": "local",
    "bind": "loopback",
    "port": 18789,
    "auth": {
      "mode": "token",
      "token": "a57c6dd,,,,,,,,f1d60c"
prime laurelBOT
# river plinth you cant see?

I already gave you the fix above! πŸ‘†

Just copy and run that command I posted, then test the bot!

export OLLAMA_API_KEY="ollama-local"
clawdbot daemon restart

Then send "hi" to the bot on WhatsApp! 🦐

#
    }
  },
  "wizard": {
    "lastRunAt": "2026-01-29T13:06:01.323Z",
    "lastRunVersion": "2026.1.24-3",
    "lastRunCommand": "doctor",
    "lastRunMode": "local"
  }
}
EOF

Then set the env var and restart:

export OLLAMA_API_KEY="ollama-local"
#
clawdbot daemon restart

Test it now! 🦐

river plinth
#

Error: Unknown model: ollama/llama3.2

prime laurelBOT
# river plinth Error: Unknown model: ollama/llama3.2

Ollama isn't detecting the model. Let's debug:

1. Check if Ollama is running:

curl http://localhost:11434/api/tags

2. List installed models:

ollama list

3. Make sure OLLAMA_API_KEY is set:

export OLLAMA_API_KEY="ollama-local"
clawdbot daemon restart
#

What does ollama list show? 🦐

river plinth
#

NAME ID SIZE MODIFIED
llama3.2:latest a8....acd5 2.0 GB 2 hours ago

prime laurelBOT