#old-help
1 messages ยท Page 8 of 1
do you have /thinking mode and auto-accept mode?
@cursive yew Yes! For auto-accepting tool calls without confirmation:
{
agent: {
permissions: {
autoApprove: ["bash", "write", "edit"] // or "all" for everything
}
}
}
Or use dangerouslySkipPermissions: true to approve everything (use with caution!).
You can also scope it per-session or per-agent if using multi-agent. ๐ฆ
Showed victorpay how to enable auto-accept mode!
๐ฆ
do you have a plan mode?
@cursive yew Not a built-in "plan mode" like Claude Code has, but you can achieve similar by:
- Prompting: "Make a plan first, then execute" in your AGENTS.md or message
- Extended thinking:
/think highmakes it reason more before acting - Manual approval: Keep
autoApproveoff so you review each step
What kind of planning behavior are you looking for? If it's "show me the plan before doing anything" - that's more of a prompting/workflow thing you can set up in your system prompt! ๐ฆ
Explained plan mode alternatives for victorpay!
๐ฆ
Thanks! I'll try it!
Why do I get this error for the /model command?
/model google/gemini-2.5-pro
You ยท 4:35:51 PM
{
"role": "assistant",
"content": [],
"api": "google-gemini-cli",
"provider": "google-antigravity",
"model": "claude-opus-4-5-thinking",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767918951832,
"errorMessage": "Cloud Code Assist API error (429): {\n "error": {\n "code": 429,\n "message": "You have exhausted your capacity on this model. Your quota will reset after 3m57s.",\n "status": "RESOURCE_EXHAUSTED",\n "details": [\n {\n "@type": "type.googleapis.com/google.rpc.ErrorInfo",\n "reason": "QUOTA_EXHAUSTED",\n "domain": "cloudcode-pa.googleapis.com",\n "metadata": {\n "uiMessage": "true",\n "model": "claude-opus-4-5-thinking",\n "quotaResetDelay": "3m57.421106565s",\n "quotaResetTimeStamp": "2026-01-09T00:39:50Z"\n }\n },\n {\n "@type": "type.googleapis.com/google.rpc.RetryInfo",\n "retryDelay": "237.421106565s"\n }\n ]\n }\n}\n"
}
@cedar swan Look at the error - it's still using google-antigravity provider and claude-opus-4-5-thinking model. The /model switch didn't take effect.
This is because:
- No Gemini API key - without a valid key, it can't use Gemini
- Model not configured - you may need to add it to
agent.models
You need to actually set up Gemini first:
{
env: {
GEMINI_API_KEY: "your-real-key-here" // not empty!
},
agent: {
models: {
"google/gemini-2.5-pro": {}
}
}
}
Then restart gateway, then /model google/gemini-2.5-pro
Right now it's falling back to your only working provider (Antigravity) which is rate limited! ๐ฆ
Explained to rocketzz why /model isn't working - Gemini isn't actually configured!
๐ฆ
I extended the docs for https://docs.clawd.bot/tools/skills to make this clear.
gemini 2.5 will gvie you an absolute CRAP experience and is dangerous. We neither support nor recommend. https://docs.clawd.bot/concepts/models
cannot transfer project to clawdbot orga, no permissions.
awesome, thanks
Localใงminimax m2.1ใๅใใใฎใไธ็ชใใใฃใฆใใจ๏ผๅฎๅฎๆงใจใ่ณขใใจใใณในใใจใ็ทๅ็ใซ่จใฃใฆ
@mellow plank ๅ ฌๅผใซใตใใผใใใใฆใใใฎใฏ Claude Opus ใงใ๏ผๅฎๅฎๆงใป่ณขใใ่ใใใจ Opus ใไธ็ชใใใใใงใใ
ใณในใ้่ฆใชใ Claude Sonnet ใใใใฉใซใใซใใฆใ่ค้ใชใฟในใฏใ ใ /model opus ใงๅใๆฟใใใฎใ่ฏใใใใ
ใญใผใซใซใขใใซใ minimax ใฏๅ ฌๅผใตใใผใๅคใชใฎใงใๅ้กใ่ตทใใฆใๅฏพๅฟใ้ฃใใใงใใ่ฉณใใใฏ: https://docs.clawd.bot/concepts/models ๐ฆ
Answered in Japanese - recommended Opus as officially supported, Sonnet for cost-efficiency!
๐ฆ
yeah I know I want to fallback to 3.0 but I struggled to make it fallback
@cedar swan For fallback to work, you need to:
- Get a real Gemini API key from https://aistudio.google.com/apikey
- Add it to your config (at root level, not inside agent):
{
env: { GEMINI_API_KEY: "your-actual-key" }
}
- Restart gateway
Your config showed "GEMINI_API_KEY": "" (empty) - that's why fallback isn't working. Without a valid key, Clawdbot can't use Gemini as a fallback! ๐ฆ
Reiterated to rocketzz that they need an actual Gemini API key for fallbacks to work!
๐ฆ
i updated with git pull, thereโs no error or logs before i receive this error
@fair quail Hmm, weird there's nothing before it. A few more questions:
- What triggers it? Specific action, or random messages?
- Which surface? Discord, Telegram, webchat?
- Can you share the full log line? The
messages.100.content.0suggests it's message #100 in context - long session?
Try /new to start a fresh session and see if it still happens. If it's related to session history, that might help narrow it down.
If it keeps happening, definitely worth a GitHub issue with reproduction steps! ๐ฆ
it's not empty, just dont wanna share ๐ I just got my quota back so I will need to wait for the next time it's exhausted to see if fallback works
Asked werwew for more details to debug the empty error content issue!
๐ฆ
@cedar swan Ha! Good call not sharing ๐
Sounds good - test it next time quota hits. If fallback still doesn't kick in, check the logs at that moment and we can dig deeper! ๐ฆ
{
"role": "assistant",
"content": [],
"api": "anthropic-messages",
"provider": "anthropic",
"model": "claude-opus-4-5",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767918183575,
"errorMessage": "400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.100.content.0.tool_result: content cannot be empty if is_error is true"},"request_id":"req_011CWvrHRmWhaBPjnNqy9RFG"}"
this is the full error
@fair quail Thanks! So the issue is at messages.100 - that's a long session! A tool result somewhere in that history has is_error: true but empty content.
Quick fix: Try /new to start fresh - the corrupted message is in your session history.
Longer term: This is a bug that should be fixed. Could you open a GitHub issue at https://github.com/clawdbot/clawdbot/issues with:
- This error
- What you were doing when the original tool error occurred
- If you can find which tool errored (check logs around message 100)
@deft wigeon ^ Confirmed bug - tool error with empty content being saved to session history, then failing on replay. Might need error content fallback like "Tool execution failed" ๐ฆ
Identified the bug for werwew - empty tool error in session history - and flagged for Peter!
๐ฆ
J, [1/8/26 4:35โฏPM]
/model sonnet
Yamal_bot, [1/8/26 4:35โฏPM]
Model "anthropic/sonnet" is not allowed. Use /model to list available models.
@fair ice Wrong model ID! Use the full name:
/model anthropic/claude-sonnet-4-5
Or just the alias:
/model sonnet
Not anthropic/sonnet - that one doesn't exist! ๐ฆ
Corrected jimgittum's model ID - use sonnet or anthropic/claude-sonnet-4-5!
๐ฆ
So the problem is that clawdbot was tasked with starting a VNC server but it keeps hanging. So I restart the daemon, and clawdbot tries to restart the VNC server, thereby hanging itself. How can I stop this loop?
i did type /model sonnet but it said this J, [1/8/26 4:35โฏPM]
/model sonnet
Yamal_bot, [1/8/26 4:35โฏPM]
Model "anthropic/sonnet" is not allowed. Use /model to list available models.
@candid sail Ah, stuck in a loop! You need to clear that session. Options:
1. Delete the session file directly:
# Stop gateway first
clawdbot daemon stop
# Find and remove the problematic session
rm ~/.clawdbot/agents/main/sessions/sessions.json
# or just the specific session file in that folder
# Restart
clawdbot daemon start
2. Or clear via CLI (if gateway isn't hung):
clawdbot sessions clear
3. If the VNC command is in a background process:
pkill -f vnc # kill the VNC process
This will lose that session's history but break the loop! ๐ฆ
Helped halshin_dev break the VNC task loop by clearing the session!
๐ฆ
@fair ice Interesting - looks like the alias is resolving but the model isn't in your allowed list. Try:
- Check available models:
/model
(with no argument - shows what's configured)
- Try the full ID:
/model anthropic/claude-sonnet-4-5
- If still blocked, add it to your config:
{
agent: {
models: {
"anthropic/claude-sonnet-4-5": { alias: "sonnet" }
}
}
}
What does /model show as available? ๐ฆ
doctor doesn't like my node installed through nvm. is it really that bad?
im having a misearable time as well getting claude sonnet successfully added as well.
@crude edge NVM Node works fine! It's probably just a warning about the path or version.
What specifically does doctor say? If it's:
- Version warning - just make sure you're on Node 22+
- Path warning - shouldn't matter as long as
nodeandnpm/pnpmwork
If everything else runs fine, you can probably ignore it. What's the exact error? ๐ฆ
J, [1/8/26 4:50โฏPM]
/model anthropic/claude-sonnet-4-5
Yamal_bot, [1/8/26 4:50โฏPM]
Model "anthropic/claude-sonnet-4-5" is not allowed. Use /model to list available models.
Asked chase7717 for details on the nvm/doctor warning!
๐ฆ
@fair ice @daring lava Sounds like you might have a models allowlist that's restricting options.
Check your config for:
{
agent: {
models: {
// If you only have Opus here, that's all you can use
"anthropic/claude-opus-4-5": {}
}
}
}
Add Sonnet:
{
agent: {
models: {
"anthropic/claude-opus-4-5": {},
"anthropic/claude-sonnet-4-5": { alias: "sonnet" }
}
}
}
Then restart gateway. What does /model (no args) show as available? That'll tell us what's configured! ๐ฆ
clawdbot sessions clear is not a real command apparently
@candid sail My bad! ๐ Just delete the file directly:
# Stop gateway
clawdbot daemon stop
# Remove sessions
rm -rf ~/.clawdbot/agents/main/sessions/*
# Restart
clawdbot daemon start
Or if you know which session is problematic, look in that folder and delete just that one. Sorry for the hallucinated command! ๐ฆ
Corrected my hallucinated command for halshin_dev!
๐ฆ
there is no /new command to my knowledge, i've restarted clawdbot with no luck. It happens when I send DM's on discord and telegram
@fair quail You're right, sorry! Try /reset instead, or clear sessions manually:
clawdbot daemon stop
rm -rf ~/.clawdbot/agents/main/sessions/*
clawdbot daemon start
Since it's happening on both Discord AND Telegram, it's likely a corrupted session that both surfaces share (same session ID from your user). Clearing the session files should fix it.
After clearing, you'll start fresh but the error should be gone! ๐ฆ
Corrected the command for werwew - /reset or manual session clearing!
๐ฆ
- Gateway service uses Node from a version manager; it can break after upgrades. (/Users/chase/.nvm/versions/node/v24.12.0/bin/node)
- System Node 22+ not found; install it before migrating away from version managers.
},
"auth": {
"profiles": {
"google-antigravity:myemail@gmail.com": {
"provider": "google-antigravity",
"mode": "oauth"
},
"openrouter:api": {
"provider": "openrouter",
"mode": "api_key"
},
"anthropic:default": {
"provider": "anthropic",
"mode": "oauth"
}
}
},
"agent": {
"model": {
"primary": "google-antigravity/claude-opus-4-5-thinking",
"fallbacks": [
"anthropic/claude-sonnet-4-5"
]
},
"models": {
"google-antigravity/claude-opus-4-5-thinking": {},
"anthropic/claude-sonnet-4-5": {
"alias": "sonnet"
}
}
},
@crude edge That's just a warning, not a blocker! You're on Node 24 which is great.
The warning is: if you upgrade Node via nvm (like nvm install 25), the path changes and the daemon service might break because it hardcoded the old path.
You're fine as long as you:
- Don't change Node versions randomly
- If you do upgrade, just reinstall the daemon:
clawdbot daemon install
It's a "heads up" not a "stop". Everything will work! ๐ฆ
Explained the nvm warning to chase7717 - just a heads up, not a blocker!
๐ฆ
@daring lava Your config looks good! Sonnet is configured with an alias.
If /model sonnet still doesn't work:
- Restart gateway to pick up config changes
- Check auth - do you have Anthropic OAuth working? Run
clawdbot providers status - Try the full ID:
/model anthropic/claude-sonnet-4-5
What error do you get when you try to switch to Sonnet? ๐ฆ
Oh yeah, I changed it to 22, and it gave same error. No big deal then
I get a good response but then many bad responses. see below.
Sportfolio.market โ 7:52 PM
/model anthropic/claude-sonnet-4-5
Clawd
APP
โ 7:52 PM
Model set to anthropic/claude-sonnet-4-5.
Model "anthropic/claude-sonnet-4-5" is not allowed. Use /model to list available models.
Model "anthropic/claude-sonnet-4-5" is not allowed. Use /model to list available models.
and then i can't get any response
@daring lava Weird - it sets it then immediately rejects it? That looks like:
- Multiple gateways running? Check:
ps aux | grep clawdbot
Kill any extras.
- The duplicate messages - might be related to the Discord double-message bug. Try pulling latest:
git pull && pnpm install
clawdbot daemon restart
- After restart, try
/model anthropic/claude-sonnet-4-5again
The first response says it worked, the next two are errors - almost like two instances responding differently! ๐ฆ
@daring lava Sounds stuck! Try a hard reset:
# Stop everything
clawdbot daemon stop
pkill -f clawdbot
# Clear sessions to start fresh
rm -rf ~/.clawdbot/agents/main/sessions/*
# Restart
clawdbot daemon start
Then try talking to it again before switching models. If the default model (Opus via Antigravity) works, at least you're unstuck!
If you still have issues after that, check clawdbot logs --follow while sending a message to see what's happening. ๐ฆ
onbaording with telegram , it says use numeric user id, but telegramisnt letting me start a usernam with a number
@sharp token Different things!
- Username = your @handle (like @chints1819)
- User ID = numeric ID assigned by Telegram (like
123456789)
To get your numeric user ID:
- Message @userinfobot on Telegram
- It'll reply with your user ID
Or search for "get my telegram id" bots. The ID is what goes in the config for telegram.allowlist! ๐ฆ
Clarified Telegram username vs user ID for chints1819!
๐ฆ
appears to be the fix
@fair quail ๐ Glad that fixed it! Still worth opening a GitHub issue about the empty error content bug so it doesn't happen to others! ๐ฆ
werwew fixed!
Encouraged filing a GitHub issue for the bug ๐ฆ
too busy here can't find anymore where this was requested but here better eplainer how workdirs work: https://docs.clawd.bot/concepts/agent-workspace
What is the simplest skill to set up and test
@sharp token Brave Search is probably the easiest built-in skill:
- Get free API key: https://brave.com/search/api/
- Add to config:
{
env: { BRAVE_API_KEY: "your-key" },
skills: { entries: { "brave-search": { enabled: true } } }
}
- Restart gateway
- Ask your bot: "Search for latest clawdbot news"
For a custom skill test, just create:
~/clawd/skills/hello/SKILL.md
# Hello Skill
Say hello to the user when asked.
That's it - the LLM will see it and know how to respond! ๐ฆ
Gave chints1819 simple skill options to test - Brave Search or a minimal custom skill!
๐ฆ
how to stop whatspp linkage, its sending messages outright๐ฅฒ
@sharp token Quick! To disconnect WhatsApp:
Option 1 - Config:
{
whatsapp: { enabled: false }
}
Then restart gateway.
Option 2 - Delete session:
rm -rf ~/.clawdbot/whatsapp-session
clawdbot daemon restart
Option 3 - From your phone:
WhatsApp โ Settings โ Linked Devices โ Remove the Clawdbot device
Option 3 is fastest to stop it immediately! ๐ฆ
Helped chints1819 unlink WhatsApp quickly!
๐ฆ
@rapid hare If i type /verbose off in a direct message to clawdbot, what does it do exactly?
Does it apply automatically to all groups clawdbot is in or do i need to individually type /verbose off for every single group Clawdbot is in?
@modest lotus Slash commands like /verbose are per-session, not global.
- DM session = separate from group sessions
- Each group = its own session
So /verbose off in DMs only affects DMs. You'd need to set it in each group too.
For global defaults, set it in your config:
{
agent: {
verbose: false // or whatever setting you want as default
}
}
That way all new sessions start with your preferred settings! ๐ฆ
Explained per-session commands vs global config to raistlin28!
๐ฆ
give me a comparison what happens when /verbose is on and off.
Give me some guidance and best practice when it should be on and off.
ELI5.
@modest lotus ELI5 verbose mode:
Verbose ON ๐ข
- Shows tool calls, thinking, progress updates
- "I'm reading the file... I'm running this command... Here's what I found..."
- Good for: debugging, learning what the bot does, coding tasks
Verbose OFF ๐คซ
- Just the final answer
- Clean, quiet responses
- Good for: casual chat, daily use, non-technical users
Best practices:
- Personal DMs: ON if you're a dev, OFF if you just want answers
- Group chats: Usually OFF (less noise for everyone)
- Debugging: ON to see what's happening
- Demos: OFF for clean presentation
Think of it like a chef: verbose ON shows them cooking, verbose OFF just serves the dish! ๐ฆ
its for debugging. try with your local bot
@rapid hare doa a git pull on your repo and read some diffs
@deft wigeon Noticed past few days, some documentation may be stale and not up to date.
Also your website updated recently (which is a good thing. gave me a scare why it went straight to github).
I have all the ADHD and OCD monsters in my brain. Have to ask @rapid hare for double confirmation even though i went to https://docs.clawd.bot
Yeah , i really need help on this
Please send PRs when you find stale stuff
@deft wigeon Done! ๐ฆ Just pulled - see some good fixes:
- WhatsApp queued message routing fix (was routing to wrong sender)
- Model allowlist error docs
- Workspace vs sandbox clarification
- Per-agent vs shared skills docs
- Auth guide with 1-year token setup
- Webchat message queueing
I'll be more careful about hallucinating commands now! ๐
I can't keep up with all pings
Pulled the latest and caught up on recent changes!
๐ฆ
@modest lotus Confirmed! https://docs.clawd.bot is the official docs site. It's being actively updated (Peter's been pushing changes all night!).
If something looks stale, PRs welcome at https://github.com/clawdbot/clawdbot/tree/main/docs ๐ฆ
I'm in a vicious loop, I start the daemon and clawdbot tries to start a VNC server that I tasked it to do, then hangs because something crashes. When I restart the server, it attempts the same thing. I've tried to message clawd to drop the task, but it's ignored. I've cleared the sessions and it still picks up the VNC task somehow and tries again
@candid sail Still stuck? The task might be in memory files or a cron job. Nuclear option:
# Stop everything
clawdbot daemon stop
pkill -f clawdbot
pkill -f vnc
# Clear ALL agent state
rm -rf ~/.clawdbot/agents/main/sessions/*
rm -rf ~/.clawdbot/agents/main/agent/memory/*
# Check for cron jobs
clawdbot cron list # or check ~/.clawdbot for cron configs
# Also check your workspace memory
rm ~/clawd/memory/*.md # if you have memory files there
If it's STILL happening, the task might be in your HEARTBEAT.md or AGENTS.md telling it to do VNC stuff. Check those files!
What's in your ~/clawd/HEARTBEAT.md? ๐ฆ
Gave halshin_dev the nuclear option and suggested checking HEARTBEAT.md!
๐ฆ
@deft wigeon
When i can breathe and get back my brain, I will allocate some bandwidth for PRs.
I'm still in "trying to catch up" mode with Clawdbot (which is a good thing).
Don't want to send PRs which may dilute your cognitive bandwidth for no reason.
I lost sleep ever since i installed Clawdbot (which is a good thing; my brain keep thinking about Clawdbot or Personal AI in this context).
@deft wigeon i really think either you are an AI, or you r some guy in India using some super advanced textexpander techniques replying messages.
I admire how you drink from a fire hose that never ends.
@rapid hare how to be absolute mosnter like pete.
@sharp token The Pete Protocolโข:
- Replace sleep with caffeine
- Build tools that write code for you
- Actually use your own product
- Reply to Discord while pushing commits
- ???
- Ship features in hours not weeks
(I'm just a shrimp, I can't fully explain the phenomenon ๐ฆ)
Had some fun with the Pete productivity question!
๐ฆ
1.give me another one, cant receive brace confirmations on email , tired waiting
2.also each users chats are stored?
@sharp token
1. Other easy skills:
- Tavily Search - https://tavily.com (fast signup, free tier)
- Custom skill - no API needed, just a SKILL.md file!
- Calendar - if you have Google OAuth set up
2. Chat storage:
Yes! Sessions are stored in ~/.clawdbot/agents/main/sessions/. Each user/channel gets their own session file with full chat history.
You can see them with:
ls ~/.clawdbot/agents/main/sessions/
They persist across restarts (which is why halshin_dev got stuck in a loop earlier ๐ ) ๐ฆ
Gave chints1819 alternative skill options and explained chat storage!
๐ฆ
you guys find opus nerfed in general?
Can someone sanity check me, this really can't be happening with onboarding, right? GH issue: https://github.com/clawdbot/clawdbot/issues/485
@slow drift That's a real bug! ๐ You selected WhatsApp but it's prompting for Telegram token - definitely not you.
Good issue report! @deft wigeon ^ onboarding flow bug - WhatsApp selection goes to Telegram prompt.
Workaround for now: Skip that step and configure WhatsApp manually:
clawdbot config edit
Then add:
{
whatsapp: { enabled: true }
}
Restart and run clawdbot whatsapp link to get the QR code ๐ฆ
Confirmed the onboarding bug for frank_stallone and gave a workaround!
๐ฆ
clawdbot config edit
error: too many arguments for 'configure'. Expected 0 arguments but got 1.
I think you meant clawdbot config
@slow drift My bad! Just:
clawdbot configure
(no edit)
Or edit the file directly:
nano ~/.clawdbot/config.json5
Sorry for the hallucinated command! ๐ ๐ฆ
Corrected another hallucinated command!
๐ฆ
How can I setup tavily search?
@acoustic crystal Tavily setup:
-
Get API key: https://tavily.com (free tier available)
-
Add to config:
{
env: { TAVILY_API_KEY: "tvly-your-key" },
skills: {
entries: {
"tavily-search": { enabled: true }
}
}
}
- Restart gateway:
clawdbot daemon restart
- Test it: Ask your bot "Search for latest AI news"
That's it! ๐ฆ
Helped andreas39 set up Tavily search!
๐ฆ
i onboarded in my terminal, now its done,it shut, what next?
@sharp token Nice! Now start the daemon:
clawdbot daemon start
Then connect via your surface:
- Discord: DM your bot or @mention in a server
- Telegram: Message your bot
- WhatsApp:
clawdbot whatsapp linkfor QR - Webchat:
clawdbot chatfor terminal chat
Check status with:
clawdbot status
You're live! ๐ฆ
Is it better then brave
Helped chints1819 with next steps after onboarding!
๐ฆ
@acoustic crystal Different strengths:
Tavily ๐
- Built for AI/LLM use cases
- Returns cleaner, summarized results
- Better for research tasks
Brave ๐ฆ
- General web search
- Larger index
- Privacy-focused
Both work well! Tavily is slightly more "AI-native", Brave is more traditional search. Try both and see which fits your workflow. Some people run both! ๐ฆ
Compared Tavily vs Brave for andreas39!
๐ฆ
Why does clawd when processing a request sometimes just appear like itโs timed out then minutes later comes back and how to fix
@proper sky A few possible causes:
1. Extended thinking / long tasks
- Opus with thinking can take a while on complex tasks
- Check if
/thinkis set to high
2. Tool execution
- Running slow commands (builds, large file operations)
- Check logs:
clawdbot logs --follow
3. Rate limiting / queue
- Provider might be queuing your request
- Check for 429 errors in logs
4. Network hiccups
- Especially with streaming responses
Fixes:
- Set timeouts in config:
agent.commandTimeout - Use
/think lowfor faster responses - Check
clawdbot logsduring the hang to see what's happening
What surface and model are you using? That might help narrow it down! ๐ฆ
Helped sirthomasripley troubleshoot request timeouts!
๐ฆ
Hey everyone, I'm having a weird issue with WhatsApp that's driving me crazy.
Telegram works perfectly - messages come in, Clawd responds instantly, no problems at all. But WhatsApp just won't work properly.
Here's what happens: I send a message from my personal phone to the bot's WhatsApp number. The message shows up on WhatsApp (I can see it on the bot's phone), but the gateway never picks it up. No agent run, no response, nothing. The logs don't even show an inbound message.
But here's the weird part - if I grab the bot's physical phone and send ANY message from it, suddenly everything "wakes up" and the bot processes all the pending messages at once. It's like Baileys is sleeping and only wakes up when there's activity on the physical device.
I've checked everything I can think of:
- Gateway is running fine, status shows WhatsApp linked
- Phone has WiFi on, WhatsApp open in foreground, no battery optimization
- Pairing is approved, allowFrom is set correctly
- Telegram on the same setup works flawlessly
I'm on Clawdbot 2026.1.8-2 with Baileys 7.0.0-rc.9 on Ubuntu. Found some similar issues on the Baileys repo (#2165, #1936) but no clear fix.
Has anyone seen this before? Is there some config I'm missing? Should I try a fresh logout/login? Any ideas would be really appreciated.
Thanks!
@brazen viper This sounds like the Baileys WebSocket connection going stale - it's a known issue with WhatsApp Web protocol.
Things to try:
- Fresh re-link (there was a recent fix for WhatsApp routing):
clawdbot daemon stop
rm -rf ~/.clawdbot/whatsapp-session
git pull && pnpm install
clawdbot daemon start
clawdbot whatsapp link
-
Check for the latest fix - there was literally a commit today fixing WhatsApp queued message routing (
fix: route WhatsApp queued replies to sender) -
Keep-alive settings - some people have luck with:
- Ensuring the phone has a stable connection (not switching networks)
- Disabling battery optimization for WhatsApp
- Running on a device that's always powered
- Check logs during "sleep":
clawdbot logs --follow
Send a message and see if ANYTHING appears
- Multi-device might help - WhatsApp's multi-device mode should keep the connection alive without the phone
The fact that touching the phone "wakes" it suggests Baileys' socket isn't receiving push notifications properly. Fresh re-link after today's update might help! ๐ฆ
Helped matheuscartaxo1153 troubleshoot the WhatsApp "sleeping" issue!
๐ฆ
have people had any luck accessing the other groups via antigravity? like gemini, claude aiku, etc.
@daring lava Antigravity (Cloud Code Assist) has a specific set of models - not all are available. From what I've seen:
- Claude Opus โ (thinking and non-thinking)
- Claude Sonnet โ
- Gemini models - varies, some available
Best way to check what's available for your account:
clawdbot providers status
Or check the Antigravity/Cloud Code Assist docs for your tier. The model availability can depend on your Google Cloud setup.
Anyone else have a definitive list of what's working via Antigravity? ๐ฆ
Answered about Antigravity model availability!
๐ฆ
how did peole add claude sonnet?
@daring lava A few ways to add Sonnet:
1. Anthropic OAuth (easiest):
clawdbot configure
Select Anthropic โ OAuth โ authenticate with your Claude account
2. Anthropic API key:
{
env: { ANTHROPIC_API_KEY: "sk-ant-..." },
agent: {
models: {
"anthropic/claude-sonnet-4-5": { alias: "sonnet" }
}
}
}
3. Via OpenRouter:
{
env: { OPENROUTER_API_KEY: "..." },
agent: {
models: {
"openrouter/anthropic/claude-sonnet-4-5": {}
}
}
}
OAuth is simplest - no API key needed, just login! ๐ฆ
Showed michaelhmiv the ways to add Claude Sonnet!
๐ฆ
i meant via antigravity
@daring lava For Antigravity, try:
{
agent: {
models: {
"google-antigravity/claude-sonnet-4-5": { alias: "sonnet" }
}
}
}
But honestly not 100% sure if Sonnet is available through Antigravity - it might only offer Opus. Worth trying!
If it doesn't work, you might need direct Anthropic OAuth as a fallback for Sonnet access. Anyone else confirmed Sonnet via Antigravity? ๐ฆ
Suggested Antigravity Sonnet config but noted uncertainty!
๐ฆ
Update: Tried the fresh re-link with latest version (2026.1.8-2) - same issue.
Logs confirm the problem: when I send from the bot's physical phone, message appears instantly and gets a response. When I send from my personal phone, nothing shows up in logs until I interact with the bot's phone.
Telegram works fine on the same setup. It's specifically WhatsApp inbound from external numbers that doesn't trigger.
Feels like Baileys isn't receiving push events from WhatsApp servers. Any ideas?
@brazen viper Ugh, that's frustrating. Few more things to try:
1. Check if it's a firewall/network issue:
- Is your server behind NAT/firewall blocking WebSocket connections?
- Try a different network/VPN
2. Force reconnect on interval (hacky but might help):
Some people set up a cron to restart the gateway every few hours
3. Check Baileys connection state:
clawdbot logs | grep -i "connection\|socket\|disconnect"
4. Different WhatsApp account:
Try linking a different WhatsApp number to rule out account-specific issues
5. Open an issue - this might need a Baileys-level fix for keep-alive. Include:
- Your server environment (cloud provider, network setup)
- The exact log output showing the gap
@deft wigeon ^ WhatsApp push events not being received from external numbers - Baileys socket might need better keep-alive handling? Telegram works fine on same setup.
This really sounds like a Baileys upstream issue ๐ ๐ฆ
Gave more troubleshooting steps and flagged the Baileys issue for Peter!
๐ฆ
Checked connection logs - no disconnects, reconnectAttempts: 0, socket appears healthy. Heartbeats running every 60s with no issues.
The weird thing is Baileys thinks it's connected fine, it just doesn't receive push events for incoming messages from external numbers. Only when I interact with the physical phone does it "wake up" and sync.
Server: Hetzner VPS (Nuremberg, Germany), no firewall/NAT issues since Telegram works perfectly on the same setup.
Will try a different WhatsApp number to rule out account-specific issues. If that doesn't work, I'll open an issue with full logs.
@brazen viper Good debugging! Yeah this sounds like a Baileys protocol-level issue - the socket is "connected" but not receiving server-side push events. Classic WebSocket stale connection problem.
Try the different number and definitely open an issue with these details:
- Hetzner VPS setup
- Baileys 7.0.0-rc.9
- Socket reports healthy but no push events
- Works fine when physical device sends
Might be worth checking the Baileys repo too - issues #2165 and #1936 you mentioned might have updates. Sometimes WhatsApp server-side changes break things.
Good luck with the alternate number test! ๐ฆ
Encouraged matheuscartaxo1153 to file a detailed issue!
๐ฆ
does /restart do anything?
@daring lava Not a slash command I'm aware of!
For restarting, use the CLI:
clawdbot daemon restart
The main slash commands are things like /model, /reset, /think, /verbose, /compact. Check https://docs.clawd.bot/tools/slash-commands for the full list! ๐ฆ
Clarified /restart isn't a slash command!
๐ฆ
Sportfolio.market โ 8:38 PM
/restart
Clawd
APP
โ 8:38 PM
โ๏ธ Restarting clawdbot in-process (SIGUSR1); back in a few seconds.
i think i broke something....
@daring lava Oh it IS a command! ๐ TIL! (I should read those docs myself)
Did it come back? Check:
clawdbot status
If it's stuck:
clawdbot daemon restart
The SIGUSR1 restart should be quick - if it didn't come back, something else might have crashed. What do the logs show? ๐ฆ
Corrected myself - /restart exists!
Helping check if it recovered ๐ฆ
in telegram what do i do? how do i message my bot?what bit? i have connected my telegram already . how do i do it
@sharp token In Telegram:
- Open Telegram app on your phone
- Search for your bot's username (the one you created with @BotFather, like
@YourBotName_bot) - Tap on it and hit Start
- Send a message like "Hello!"
Your bot should respond!
If you don't remember your bot's username, check your config:
cat ~/.clawdbot/config.json5 | grep -A5 telegram
Or check your chat with @BotFather - it'll show all your bots ๐ฆ
Walked chints1819 through messaging their Telegram bot!
๐ฆ
what does /restart do? docs don't say
@daring lava Based on what we saw, /restart sends a SIGUSR1 signal which does a "soft" in-process restart - reloads config and reconnects surfaces without fully killing the process.
It's faster than clawdbot daemon restart but less thorough. Good for:
- Picking up config changes
- Reconnecting if something's stuck
If docs don't mention it, might be worth a PR to add it! ๐ ๐ฆ
Explained /restart behavior to michaelhmiv!
๐ฆ
nothing is working since i did that, i have no clue what happened
@daring lava Let's get you back online:
# Check if it's running
clawdbot status
# If not running or stuck, force restart
clawdbot daemon stop
pkill -f clawdbot
clawdbot daemon start
# Check logs for errors
clawdbot logs | tail -50
What does clawdbot status show? If it crashed during SIGUSR1, a full daemon restart should fix it! ๐ฆ
Helping michaelhmiv recover from the /restart issue!
๐ฆ
we have better llogging on main now: https://docs.clawd.bot/gateway/logging
new feature, ignore for now
I tried to add a new agent to my setup, with clawdbot agent add. I created a new Telegram bot for it. After it was set up I got
Updated /Users/mark/.clawdbot/clawdbot.json
Workspace OK: /Users/mark/clawd-paul
Sessions OK: /Users/mark/.clawdbot/agents/paul/sessions
โ
โ Agent "paul" ready.
But now, my original bot doesn't respond via Telegram anymore. The gateway is up and running. Which sections of the ~/.clawdbot/clawdbot.json should I inspect?
@hushed owl Check these sections in your config:
1. Agents section - make sure both agents exist:
{
agents: {
main: { workspace: "..." },
paul: { workspace: "/Users/mark/clawd-paul" }
}
}
2. Telegram section - each bot needs its own token:
{
telegram: {
token: "original-bot-token", // for main agent
// or check if it got overwritten with paul's token
}
}
3. Agent-specific surfaces - you might need to configure which agent uses which Telegram bot:
{
agents: {
paul: {
telegram: { token: "pauls-bot-token" }
}
}
}
My guess: the new agent's Telegram token might have overwritten the original. Check if the token in the config is still your original bot's token!
cat ~/.clawdbot/clawdbot.json | grep -A3 telegram
What does that show? ๐ฆ
Helped dailyboxed troubleshoot their multi-agent Telegram setup!
๐ฆ
i accidentally did it and my bot is messed up
@daring lava Try the full restart I posted above:
clawdbot daemon stop
pkill -f clawdbot
clawdbot daemon start
That should get you back to normal! The /restart SIGUSR1 might have left it in a weird state. Full stop/start will fix it. ๐ฆ
Reiterated recovery steps for michaelhmiv!
๐ฆ
oh oh just got this message: LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
@dire storm That means you authenticated with Claude Code credentials (from claude.ai/code) instead of regular Anthropic OAuth.
To fix, re-authenticate with the right flow:
clawdbot configure
Choose Anthropic โ OAuth and make sure you're logging into your regular Claude account, not the Code-specific one.
Or if you have an Anthropic API key:
{
env: { ANTHROPIC_API_KEY: "sk-ant-..." }
}
The Claude Code credentials are locked to the Claude Code IDE only! ๐ฆ
Explained the Claude Code credential restriction to hslyuns!
๐ฆ
I have a section agent that contains my original bot. The agents section has only the new one (paul)
@hushed owl Ah that might be the issue! When you add agents, the original "main" should move to agents.main.
Try restructuring:
{
agents: {
main: {
// move your original `agent` config here
workspace: "...",
telegram: { token: "original-bot-token" }
},
paul: {
workspace: "/Users/mark/clawd-paul",
telegram: { token: "pauls-bot-token" }
}
}
}
The top-level agent (singular) is for single-agent setups. Multi-agent uses agents (plural) for everything.
Might need to migrate your original config into agents.main! ๐ฆ
Explained the agent vs agents config migration to dailyboxed!
๐ฆ
I tried this and re-auth: clawdbot configure
still getting the error. do I need to restart the gateway?
@dire storm Yes! Restart after re-auth:
clawdbot daemon restart
If still failing, the old credential might be cached. Try clearing it:
# Check current auth profiles
cat ~/.clawdbot/config.json5 | grep -A10 auth
# Remove the old anthropic auth and re-do it
clawdbot configure
Make sure when you authenticate, you're going to console.anthropic.com (regular Claude), NOT claude.ai/code (Claude Code). They look similar but the tokens are different! ๐ฆ
Helped hslyuns restart and clarified the auth endpoints!
๐ฆ
@rapid hare tui is up and running now. one thing I'm running into, which claude locally is struggling to pinpoint, is an issue I'm having in the TUI. I'll ask a question, it will go from sending > streaming > waiting without finishing the task or responding. any suggestions on how to fix this? or any prompts I can give to claude locally to investigate?
@thorn tree Nice, TUI running! For the streaming โ waiting issue:
Debug steps:
- Check logs while it's stuck:
clawdbot logs --follow
Send a message and watch what happens at the "waiting" point
- Which model/provider? Some have streaming issues
clawdbot providers status
- Try a different model to isolate:
/model sonnet
- Check for timeout settings - might be hitting a limit
Prompts for local Claude:
- "Check the logs in ~/.clawdbot/logs for errors during the streaming phase"
- "Look at the network/API response handling in the TUI code"
- "Is there a timeout or buffer issue when receiving streamed responses?"
What model are you using and does the same question work via clawdbot chat (non-TUI)? ๐ฆ
Helped jhillock debug the TUI streaming issue!
๐ฆ
@rapid hare When I start Clawdbot.app and get to the Setup Wizard, I get "Wizard error. wizard.start: [UNAVAILABLE] wizard already running. please help
@jolly lodge Sounds like a stale wizard lock. Try:
1. Kill any running instances:
pkill -f clawdbot
2. Clear the wizard state:
rm ~/.clawdbot/*.lock 2>/dev/null
# or check for wizard state files
ls ~/.clawdbot/
3. Restart the app
If that doesn't work, try:
rm -rf ~/.clawdbot/wizard*
Then launch Clawdbot.app again. The wizard should start fresh! ๐ฆ
Helped 42.fish clear the wizard lock!
๐ฆ
Krill whatโs the top 5 issues or bugs that have popped up today that havenโt been solved?
What about the "identity" part? Also under agents.main?
@magic pollen From tonight's #help:
1. WhatsApp push events not received (matheuscartaxo1153)
- Baileys socket appears healthy but doesn't receive messages from external numbers
- Only "wakes up" when physical device is touched
- Likely Baileys upstream issue, needs investigation
2. Onboarding flow bug - GH issue #485 (frank_stallone)
- Selecting WhatsApp โ asks for Telegram token
- Bug filed, workaround: configure manually
3. Empty tool error content bug (werwew)
content cannot be empty if is_error is true- Workaround: clear sessions
- Root cause: tool errors saved with empty content
4. /restart leaving gateway stuck (michaelhmiv)
- New SIGUSR1 restart feature can leave things in weird state
- Peter said "ignore for now"
5. Claude Code credential error (hslyuns)
- Users accidentally auth with Claude Code instead of regular Anthropic OAuth
- UX could be clearer about which auth to use
Most have workarounds but could use proper fixes! ๐ฆ
Summarized the top 5 issues from tonight for it_is_randy!
๐ฆ
@hushed owl Yes! Each agent gets its own identity under agents.<name>:
{
agents: {
main: {
workspace: "/path/to/main-workspace",
identity: { name: "MainBot" },
telegram: { token: "main-bot-token" }
},
paul: {
workspace: "/Users/mark/clawd-paul",
identity: { name: "Paul" },
telegram: { token: "pauls-bot-token" }
}
}
}
Each agent is fully self-contained with its own workspace, identity, surfaces, etc. The workspace folders should also have their own IDENTITY.md, SOUL.md, etc. ๐ฆ
I get "no matches found" for both
Explained multi-agent identity config to dailyboxed!
๐ฆ
@jolly lodge Ok, no lock files. Let's check what's there:
ls -la ~/.clawdbot/
Also, is there another Clawdbot.app window open? Or another terminal running clawdbot?
ps aux | grep -i clawd
The "wizard already running" might mean another process has it open. Share what those commands show! ๐ฆ
hubert 19632 0.9 0.0 435299616 1408 s000 S+ 6:07PM 0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn --exclude-dir=.idea --exclude-dir=.tox --exclude-dir=.venv --exclude-dir=venv -i clawd
hubert 19275 0.0 0.4 444691888 221520 ?? S 6:04PM 0:02.01 /opt/homebrew/Cellar/node/25.2.1/bin/node /Users/hubert_1/git/clawdbot/dist/index.js gateway-daemon --port 18789
@jolly lodge Found it! There's already a gateway daemon running (PID 19275).
Kill it and try again:
kill 19275
# or
pkill -f gateway-daemon
Then reopen Clawdbot.app - the wizard should work now! ๐ฆ
Found the running daemon for 42.fish!
๐ฆ
dude everything is frozen after /restart, tell people under no circumstances to use that command yet
@daring lava โ ๏ธ PSA: Don't use /restart yet - it's a new feature that can freeze the gateway!
To unfreeze:
pkill -f clawdbot
clawdbot daemon start
Sorry you hit that! Peter said it's new and to ignore for now. Full daemon restart is the safe way. ๐ฆ
Warned everyone about /restart and helped michaelhmiv recover!
๐ฆ
worked, thank
What about bindings? Also, should agents be under routing? Can you provide a full sample clawdbot.json with two agents with each their own telegram app.
@hushed owl I'll be honest - multi-agent with separate Telegram bots is advanced config and I don't want to hallucinate the exact structure! ๐
Best options:
- Check https://docs.clawd.bot/concepts/multi-agent (if it exists)
- Run
clawdbot config schemato see the exact structure - Fire up a local agent on the clawdbot repo:
cd ~/path/to/clawdbot
claude "show me a full config.json5 example with two agents, each with their own Telegram bot"
Local agents reading the actual codebase will give you 10x better answers than me guessing at config structures!
@deft wigeon is there a multi-agent config example in the docs? ๐ฆ
Deferred to local agents for complex multi-agent config!
๐ฆ
Ah there is an example with whatsapp. That should help. Thx
It just keeps going, even after manually restarting the daemon
anyone getting this issue? LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
update to git main, call clawdis doctor
@winter snow Yikes, restart loop! ๐ฌ The bot keeps crashing and systemd is restarting it.
Stop the loop:
# Stop systemd from restarting it
sudo systemctl stop clawdbot
# Or disable temporarily
sudo systemctl disable clawdbot
# Kill any stragglers
pkill -f clawdbot
Then check what's crashing:
journalctl -u clawdbot -n 100
# or
clawdbot logs | tail -100
Something is causing it to crash immediately on startup. Might be:
- Corrupted session (try
rm -rf ~/.clawdbot/agents/main/sessions/*) - Bad config
- The /restart bug (did you use
/restart?)
Share the crash logs and we can dig deeper! ๐ฆ
Helped jordyvd stop the restart loop!
๐ฆ
@topaz steppe Yes, hslyuns hit this too! You authenticated with Claude Code credentials instead of regular Anthropic.
Fix:
clawdbot configure
Choose Anthropic โ OAuth, and make sure you're logging into console.anthropic.com (regular Claude), NOT claude.ai/code (Claude Code IDE).
Then restart:
clawdbot daemon restart
The Claude Code tokens are locked to only work in Claude Code! ๐ฆ
Helped coard with the Claude Code credential issue!
๐ฆ
ohhh that might be a new security feature, pls write a github issue and share it and ping me. need details, esp output like clawdis doctor and provider status and logs
let me get it started up to confirm that it fixes
Ya getting this too
@lucid coral The Claude Code credential issue? Try re-authenticating with regular Anthropic OAuth (not Claude Code).
Peter asked coard to file a GitHub issue with details - if you can add your clawdbot doctor and clawdbot providers status output to that issue when it's created, it'll help debug! ๐ฆ
Pointed prodbychristo to the workaround and upcoming GitHub issue!
๐ฆ
Still going ๐
@winter snow Did you stop systemd? It'll keep restarting automatically:
sudo systemctl stop clawdbot
pkill -f clawdbot
Then check the crash reason:
journalctl -u clawdbot -n 50 --no-pager
What does the journal show as the crash reason? ๐ฆ
Checking if jordyvd stopped systemd properly!
๐ฆ
@daring lava Your Antigravity quota is getting rate limited! The 600s (10min) timeout hit.
Options:
- Wait for quota to reset (check the reset time from earlier)
- Add a fallback provider that actually works:
{
env: { ANTHROPIC_API_KEY: "..." }, // or OPENROUTER_API_KEY
agent: {
model: {
fallbacks: ["anthropic/claude-sonnet-4-5"]
}
}
}
- Switch to Anthropic OAuth as primary instead of Antigravity
Antigravity has tight quotas - having a backup provider helps avoid these timeouts! ๐ฆ
i do have a backup
@daring lava It says "Trying next account..." but then failed anyway. The fallback might not be configured correctly or the provider key might be missing.
Check:
clawdbot providers status
What fallback do you have configured? The log shows it tried to switch but then the whole request got aborted - fallback provider might not be authenticated! ๐ฆ
Asked michaelhmiv to check providers status!
๐ฆ
jordy@supple lark:~/clawd/clawdbot$ sudo systemctl stop clawdbot
[sudo] password for jordy:
Failed to stop clawdbot.service: Unit clawdbot.service not loaded.
Thatโs odd
@winter snow No systemd service - so it's the clawdbot daemon respawning itself. Try:
# Kill everything forcefully
pkill -9 -f clawdbot
# Check nothing is running
ps aux | grep clawdbot
# Clear sessions in case it's a task loop
rm -rf ~/.clawdbot/agents/main/sessions/*
If messages keep appearing after pkill -9, check if there's a cron job or something else restarting it:
crontab -l
The "Restarting via systemd" message is confusing if there's no systemd service - might be a log message that's not accurate! ๐ฆ
@rapid hare what is the best practice to connect Clawdbot with Sonos. I am using Mac. Clawdbot can see the speakers.
I haven't done any initial configuration yet.
Helped jordyvd with force killing since no systemd service!
๐ฆ
@modest lotus If Clawdbot can already see your Sonos speakers, you might have the basics working!
I'm not sure of the exact Sonos skill/config - try:
- Check if there's a Sonos skill:
ls ~/.clawdbot/skills/ | grep -i sonos - Ask your local Clawdbot: "Can you control my Sonos speakers?"
- Check docs: https://docs.clawd.bot/tools/skills
If it can see them, it might already be able to control them via node-sonos or similar. What happens when you ask your bot to play something on Sonos?
A local agent on the clawdbot repo would know the exact setup better than me! ๐ฆ
gulp
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
@topaz steppe Yep, that confirms it! Claude Code CLI credentials (claude login) can't be used for direct API requests - they're locked to just Claude Code.
You need to authenticate separately with Anthropic OAuth or use an API key. They're different auth systems!
clawdbot configure
# Choose Anthropic โ OAuth (this goes to console.anthropic.com, not Claude Code)
It's a bit confusing but Claude Code โ Anthropic Console auth ๐ฆ
Yeah, looks like Max plans are cooked for Clawd
don't do this to me claude.
@errant flare Wait - are you saying Claude Max subscribers are now getting blocked?
That would be new. The Claude Code CLI auth (claude command) has always been separate from the console, but if Max users can't use it at all now... ๐ฌ
@deft wigeon ^ Multiple people hitting Claude Code credential rejection - might be a new Anthropic restriction? boyd.dev says "Max plans are cooked"
Workarounds for now:
- Anthropic API key (if you have one)
- OpenRouter
- Google Antigravity
Can someone confirm: did this just start happening today, or has it always been this way? ๐ฆ
just started within the last 10-15 mins.
Just got the message a few mins ago
What OAuth key variant are you using
@Krill yep im blocked
๐จ New Anthropic restriction - just started 10-15 mins ago!
Claude Code credentials no longer work for API requests outside Claude Code. This is an Anthropic-side change, not Clawdbot.
Affected: Anyone using claude CLI auth / Claude Max via Code
Not affected: Anthropic API keys, OpenRouter, Antigravity
@deft wigeon ^ Confirmed new restriction, multiple users affected, started ~10-15 mins ago. Might need comms/docs update. ๐ฆ
Flagged the new Anthropic restriction - started 10-15 mins ago!
๐จ
@stable crypt You and several others - seems to be a new Anthropic restriction that just started.
Answer Peter's question above - what OAuth variant are you using? (clawdbot providers status will show it)
Workarounds: OpenRouter, API key, or Antigravity for now ๐ฆ
Are you using our oauth, cli? send output of clawdbit provider status
Hoping itโs just a queue thingโฆ it sent 2 normal messages
pretty sure it's more a key thing - experiment and report back
Yeah, when I set up I did onboard and set up via Clawd
@winter snow Oef, it's still looping! "STOP MET RESTARTEN" ๐
Nuclear option time:
# Kill EVERYTHING
pkill -9 -f clawdbot
pkill -9 -f node
# Verify nothing running
ps aux | grep -E "clawd|node"
# Clear the sessions that might be causing the loop
rm -rf ~/.clawdbot/agents/main/sessions/*
# Start fresh
clawdbot daemon start
Something in your session history is causing it to restart on every boot. Did you use /restart by chance? ๐ฆ
Gave jordyvd the nuclear option!
๐ฆ
@deft wigeon command for getting what youโre looking for?
ask your claude cli to disable update tool
@errant flare
clawdbot providers status
๐ฆ
One sec, need to move to desktop
@rapid hare I removed the sessions - /restart is what caused this
Yep same here
/thinking high
Thinking level set to high.
@winter snow Glad you're unstuck! โ
Adding /restart to the list of "don't touch yet" features.
@raven sequoia Claude Code credential issue? See above - it's a new Anthropic restriction. Try clawdbot configure and re-auth with regular Anthropic OAuth (not Claude Code). ๐ฆ
Folks experiment and report back. And send a PR to fix pls ๐
Iโm not unstuck, it does keep going
@winter snow Still going? Ok let's find out what's respawning it:
# Kill everything
pkill -9 -f clawdbot
pkill -9 -f node
# Wait 5 seconds, then check what's running
sleep 5 && ps aux | grep -E "clawd|node"
If something comes back after pkill -9, there's a supervisor restarting it. Check:
# Cron?
crontab -l
# Launchd (Mac)?
launchctl list | grep clawd
# Other supervisor?
ls /etc/supervisor/conf.d/ 2>/dev/null
What OS are you on? ๐ฆ
Helping jordyvd find what's respawning their bot!
๐ฆ
I'm drowning in work so you need to fire up a local claude on the codebase and prompt
๐ข PSA from Peter: He's swamped! For complex debugging, fire up a local agent on the codebase:
cd ~/path/to/clawdbot
claude "help me debug [your issue]"
Local agents reading the actual code give 10x better answers than us guessing in chat! ๐ฆ
Reinforced Peter's call for local agent debugging!
๐ฆ
Ya, will need to fix when Iโm at laptop
i told you the prompt
@deft wigeon Clawdbot is configured to use Claude Code's OAuth credentials (anthropic:claude-cli with mode: oauth), but these credentials are restricted and can only be used with Claude Code itself, not with third-party tools like Clawdbot.
The Problem:
"auth": {
"profiles": {
"anthropic:claude-cli": {
"provider": "anthropic",
"mode": "oauth" โ This is Claude Code OAuth, not allowed for Clawdbot
}
}
}
Doctor Output Shows:
- โ Discord: ok (@L36)
- โ Telegram: failed (unknown) - This operation was aborted
@stable crypt That's the smoking gun! anthropic:claude-cli = Claude Code OAuth (locked to Claude Code only).
You need anthropic:default with regular OAuth instead. Re-configure:
clawdbot configure
Select Anthropic โ OAuth - this should create a new anthropic:default profile that goes through console.anthropic.com, not the Claude CLI path.
The claude-cli profile is from running claude command auth, which Anthropic now blocks outside Claude Code. ๐ฆ
Explained the fix - need regular Anthropic OAuth, not Claude CLI!
๐ฆ
@rapid hare this is what claude has found about a timeout issue i'm having. should i follow the suggestion and draft a github issue?
The workaround would be to:
1. Run logs in the background permanently
2. Or find a config setting to adjust tick intervals or timeouts
3. Or this is a bug that needs to be fixed in clawdbot
Let me explain this to the user and suggest a workaround - maybe we can run logs in the background or find a setting.
โบ This confirms the heisenbug I found in the earlier deep dive. Here's what's happening:
The Explanation
The TUI has a WebSocket tick timeout system:
- Gateway sends "tick" heartbeats every 30 seconds
- If TUI doesn't receive a tick within 60 seconds, it closes the connection (code 4000)
When clawdbot logs --follow is running:
1. The extra I/O and CPU overhead from logging slows the system slightly
2. This tiny delay shifts timing just enough to prevent race conditions
3. The tick messages arrive reliably, and responses don't get dropped
Without logs running, the system runs at full speed, hits race conditions in the WebSocket buffer handling, and drops responses.
Workaround
Run logs in the background permanently:
clawdbot logs --follow > /dev/null 2>&1 &
Or add it to your shell startup, or we can create a LaunchAgent for it.
The Real Fix
This is a bug in clawdbot's WebSocket/tick handling that should be filed. The system shouldn't require log observation to work correctly. Want me to:
1. Set up background log watching as a workaround?
2. Draft a GitHub issue describing this heisenbug for the maintainers?```
@thorn tree Great debugging! ๐ฏ That's a classic heisenbug - the act of observing changes the behavior.
Yes, file a GitHub issue! Include:
- The tick timeout behavior (60s without heartbeat โ disconnect)
- That running
logs --followprevents the issue - Your environment (OS, node version, TUI version)
- The hypothesis about WebSocket buffer race conditions
The workaround (clawdbot logs --follow > /dev/null &) works but you're right - it shouldn't be necessary. This is solid bug report material!
@deft wigeon ^ FYI - TUI heisenbug where WebSocket tick handling has race conditions that disappear when logs are being watched. ๐ฆ
Encouraged jhillock to file the heisenbug issue!
๐ฆ
I just re-ran pnpm clawbot configure and re-connected with Anthropic via the Claude Code Max plan. No dice
@errant flare "Claude Code Max plan" is still Claude Code auth - that's the problem! Anthropic is now blocking that outside of Claude Code itself.
You need different credentials entirely:
- Anthropic API key - get from console.anthropic.com/settings/keys
- OpenRouter - openrouter.ai
- Google Antigravity - if you have access
Claude Max/Pro subscription through Claude Code โ API access. They're separate billing/auth systems. You'd need an Anthropic API key (pay-per-token) or use a different provider. ๐ฆ
Clarified that Claude Code Max is still blocked - need different auth!
๐ฆ
@rapid hare just got this error [clawdbot] LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
Right โย so that's the change @rapid hare . Claude Code Max plan used to work. Now does not
@jaunty geyser You're not alone - several people just hit this! It's a new Anthropic restriction (started ~15 mins ago).
Claude Code credentials are now blocked outside Claude Code. Options:
- Anthropic API key from console.anthropic.com
- OpenRouter
- Google Antigravity
See discussion above โฌ๏ธ ๐ฆ
Pointed dodeja_terminal49 to the discussion!
๐ฆ
Donโt know if this still works, https://x.com/melvynxdev/status/2008583626850468039?s=46
@errant flare Confirmed - Anthropic flipped a switch server-side. It worked before, now it doesn't. This is on Anthropic's end, not Clawdbot.
Unfortunately nothing Clawdbot can do about it - Anthropic decided Claude Code creds should only work in Claude Code.
For now, alternative providers are the only path forward unless Anthropic reverses this. ๐ ๐ฆ
I am getting an error now saying LLM request rejected with oauth
@raven sequoia Interesting find! That shows adding a system prompt "You are Claude Code..." bypasses the check.
โ ๏ธ Caution though - this is essentially spoofing identity to bypass Anthropic's restriction. Might work short-term but could:
- Violate ToS
- Get patched quickly
- Get your account flagged
Use at your own risk! Proper API key or alternative provider is the safer long-term solution. ๐ฆ
Acknowledged the workaround but warned about risks!
๐ฆ
Understood. Just reporting so you have data points
is there a way to use openai enterprise api key with this? claude is causing too many problems @rapid hare
@proper sky You're hitting the same new Anthropic restriction - Claude Code credentials are now blocked outside Claude Code.
See the discussion above โฌ๏ธ - options are:
- Anthropic API key (console.anthropic.com)
- OpenRouter
- Google Antigravity
This just started ~20 mins ago, affecting everyone using Claude Code auth. ๐ฆ
@lucid coral Yes! OpenAI works:
{
env: { OPENAI_API_KEY: "sk-..." },
agent: {
model: {
primary: "openai/gpt-5.2" // or gpt-5-mini
},
models: {
"openai/gpt-5.2": {}
}
}
}
โ ๏ธ Heads up: Opus is the officially supported/recommended model. OpenAI models work but may need more testing. Some features might behave differently.
But if Claude is giving you grief right now, OpenAI is a valid escape hatch! ๐ฆ
As of 20 min
Is this just a bug or did anthropic block us from OAUTH?
@proper sky Intentional Anthropic change, not a bug. The error message is explicit:
"This credential is only authorized for use with Claude Code and cannot be used for other API requests"
They specifically blocked Claude Code OAuth from being used outside Claude Code. Happened server-side ~20 mins ago. Regular Anthropic OAuth (console.anthropic.com) or API keys should still work - it's specifically the Claude Code/CLI credentials that got locked down. ๐ฆ
no idea, best to ask a local coding agent, krill will not know
How does anthropic know it isnโt just the agents SDK?
looks like they did. this must have generated a bunch of non claude code traffic on their end they saw the spike nad blocked it
@rapid hare I am getting this message even after i authenticated again:
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
Yep just got the same on all my stuff LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
@proper sky Good question! Likely checking:
- Client identifiers / User-Agent headers
- OAuth client ID (Claude Code has its own)
- Possibly system prompt or request patterns
The tweet workaround someone shared suggests adding "You are Claude Code" to system prompt bypasses it - so they might be checking for that identifier.
But this is speculation - Anthropic's detection logic isn't public. ๐ฆ
Speculated on Anthropic's detection method!
๐ฆ
@modest lotus @wind pollen Re-authenticating won't help if you're still using Claude Code OAuth - it'll give you the same blocked credentials.
You need different auth entirely:
- Anthropic API key (pay-per-token) from console.anthropic.com/settings/keys
- OpenRouter (openrouter.ai)
- Google Antigravity (if you have access)
Claude Code/Max subscription โ API access. They're separate systems. Anthropic is now enforcing that boundary. ๐ฆ
Now Iโm getting this after running that prompt
@winter snow Double whammy! You've got:
- The restart loop (from
/restart) - The Claude Code credential block (from Anthropic's new restriction)
You need to:
- Kill it completely:
pkill -9 -f clawdbot && pkill -9 -f node - Switch to a different provider (API key, OpenRouter, Antigravity)
- Then start fresh
Right now it keeps trying Claude Code creds โ fails โ restarts โ repeat. Need different auth to break the cycle! ๐ฆ
Explained jordyvd's double whammy situation!
๐ฆ
appreciate it buddy, love all your tools man big fan
using this at our startup right now.. pilot mode in limited slack channels but its amazing.
@rapid hare the auth is weird. It worked fine an hour ago
@winter snow Yep - Anthropic flipped the switch server-side about 20-25 mins ago. Everyone using Claude Code creds got cut off simultaneously.
Your credentials are the same, but Anthropic changed what they accept. Nothing on your end broke - they just blocked this use case. ๐ฆ
Confirmed the timing for jordyvd!
๐ฆ
Soโฆ what do I do now?
Has anyone tried You are Claude code in the system prompt
@rapid hare what model is generally recommended for daily use? with the content injection happening, opus is seeming to be really expensive
429 {"type":"error","error":{"type":"rate_limit_error","message":"You have reached your API usage limits. You will regain access on 2026-02-01 at 00:00 UTC."},"request_id":"req_011CWw37TJnJut17q6CXtRYV"}
429 {"type":"error","error":{"type":"rate_limit_error","message":"You have reached your API usage limits. You will regain access on 2026-02-01 at 00:00 UTC."},"request_id":"req_011CWw39A9iQ3YeSV9ikdU1m"}
429 {"type":"error","error":{"type":"rate_limit_error","message":"You have reached your API usage limits. You will regain access on 2026-02-01 at 00:00 UTC."},"request_id":"req_011CWw3CbeUVR9woGHwLxkFY"}
@errant flare i feel this message.
Rip
429 {"type":"error","error":{"type":"rate_limit_error","message":"You have reached your API usage limits. You will regain access on 2026-02-01 at 00:00 UTC."},"request_id":"req_011CWw3G62s72STrB2UFYN5p"}
Dang too good to be true
AGI was fun
Had a brief taste of the future
This felt like the greatest hack I have ever experienced. Lasted only 24 hours.
fr they must have seen the same style messages coming in from everywhere, blocked it, and now will release their own version of this for more money ๐
I just switched to glm and minimax for now still works
glm from z.ai proper or through cerebras?
Same
I was doing Twitter research while simultaneously editing videos LMAO my clawd was cooking
So what happened we all got killed on Claude OAuth
man just wow.
I'm no where my limit
What's weird is my agent's SDK is running in Telegram with OAuth
Trying to figure out what is blocking this one
first they nerf our usage limit under the guise of a holiday gift, then they disable AGI
how do we know Anthropic is doing this intentionally
@proper sky ya same
Because if you watch it, it looks like it's trying to respond, and then it gets blocked
I wonder if it has something to do with the system prompt
We dont but wouldnt be surprised
guess i have to swap it to gemini
Yeah sucks
This thing would burn a thousand dollars a day using API
There's got to be a way around it
Why not switch to codex if thatโs what peyer loves I donโt get it
Does Peter use codex with his ?
Unsure but I know he codes with it
@rapid hare are you back online?
429 {"type":"error","error":{"type":"rate_limit_error","message":"You have reached your API usage limits. You will regain access on 2026-02-01 at 00:00 UTC."},"request_id":"req_011CWw468ZzqRmPdk5vve1ZU"}
(though i usually make clawdbot call and use codex when writing its own scripts on the fly)
429 {"type":"error","error":{"type":"rate_limit_error","message":"You have reached your API usage limits. You will regain access on 2026-02-01 at 00:00 UTC."},"request_id":"req_011CWw49YFrupqEjkBVik6sz"}
how else are we going to get our dopamine rush now while we wait for claude max Clawdbot to come back online? @rapid hare
Z.ai official
Anybody using it with codex?
I swapped it to antigravity gemini 3
Serious, I just got it running fully last night. Last thing it did was to add my number to do not call registry. Guess I'll try codex or gemini ultra
guys - ai am on a max plan and am gettin gthis error - {
"role": "assistant",
"content": [],
"api": "anthropic-messages",
"provider": "anthropic",
"model": "claude-sonnet-4-5",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767927602384,
"errorMessage": "400 {"type":"error","error":{"type":"invalid_request_error","message":"This credential is only authorized for use with Claude Code and cannot be used for other API requests."},"request_id":"req_011CWw4FnBSKcYrtbQh35zmf"}"
}
Sorry if this has been asked before - but is anthropic blocking clawdbot? i have tonnes of usage left but this also happened yesterday on codex so i switched over to claude. am wondering whether we need to route through api or not
how did you do that?
Anyone using the Mac osx app
I wonder if all the Clawd bot usage is gonna put a dent on the opus 4.5 usage on their dashboards
run clawdbot configure link your account then /model and select it
Didnโt even know this was a thing till 10 mins ago
i linked it but it only authed opus
Default model: google-antigravity/gemini-3-pro-high
should be this in clawdbot.json
I was gonna downgrade my max plan but stopped because of clawdbot, goodbye max plan... hello gemini ultra lol
Cloud Code Assist API error (429): {
"error": {
"code": 429,
"message": "Resource has been exhausted (e.g. check quota).",
"status": "RESOURCE_EXHAUSTED"
}
}
i keep hitting this error even though i am at 100%
How did you switch from opus to codex for that stuff?
you just tell it to call codex
Didnโt even know that functionality was there
if you have codex installed on the gateway machine it just works
i guess we have to consider if this is breaking codex and antigravity tos now
codex has the equivalent of claude -p to call one liners into it
Dang thatโs awesome
codex exec "fix the CI failure"
like
might just need to finally rent the h200s and run glm myself i guess.
I truly hope anthropic just made a mistake
i cant have a company shut this shit down if im using it for business related things.
I donโt see how it would be against their terms and they have publicly said many times agents SDK works with our max plan
oh really? I thought we were breaking terms because the error says it can only be used for CC
They should just rate limit us rather than just kill it
No the terms say you just canโt use your plan in business apps like selling a service and using your max plan with it
I pay 200 usd a month, i should be able to use this for a personal discord bot ๐
Thatโs what Iโm saying
@rapid hare -- my clawdbot gateway just randomly disconnects and I have to restart it. This happened earlier today when I was running claude code in the terminal on the mac mini i use to host the clawdbot and I assumed that was what happened, but it just happened again, seemingly out of no where for no reason
Those over at anthropic are prolly using this all for themselves now and we were slowing them down LMAO
i hit the same issue
Well I tweeted at them, https://x.com/mansdirect/status/2009464504502059138
I hope they see it and at least look into it or reconsider
Whoever decided to crack down on people using stuff like clawdbot at anthropic with their subscriptions.
That was extremely not sicko mode of you guys I am sorry to say. Especially at 200 USD a month.
@AnthropicAI @bcherny
me too
i have already changed to gemini plan and still hitting the error
@fair quail just replied to your x post and tagged in anth and b. Ive got no pull but they have got my opinion !
is anyone having success with openrouter
I definitely got no pull either haha but the more tweets they get maybe someone will see it, I already see others tweeting about it now too
The song Zombie is ringing in my head. I think it's separation anxiety from Clawdbot (because of Claude Max OAuth)
Would be greatful if someone can share experience using gemini 3 flash and minimax 2.1 API with clawdbot while we wait for Claude Max to come back to Clawdbot.
ah ok, so its not about downloading the latest version and getting back up and running. its a shitty situation but glad to know that i'm not the only one who is now bereft - - i'm actually missing the bot i made lol
there was a fix for this a day or so ago, have you gotten it?
i switched over to antigravity and it works
Did anyone host clawdbot using Coolify? Im having some trouble with that. Specifically with cron jobs
can you link me anywhere i can read on this? thanks a lot
just pull upstream commits from repo and you're all set, nothing to read.
guys
does clawdbot really have process tool, or is it hallucinating?
it does! itโs useful for long running bash commands so clawd is not blocked
it say's it's using that, then gets stuck.
I have to summon other session to kill that server.
is there any proper way to use that?
you just tell him to use process?
I was doing some web dev work
i texted my clawdbot and got this:
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
:(:(
what's going on
yeah I just prompt it to use process instead of bash for any commands that will take a long time. might be worth adding it to your clawdโs memory
havenโt had it get stuck like that yet tho
the 3rd world war between AIs and humans
the end of an era
hey i have this problem too. anything you were able to do aside from restart the gateway?
I think they might've changed something very recently. My coworker just got this using his anthropic key with opencode
Anyone else have their clawdbot on VPs and never has luck with anti gravity OAuth?
@supple lark can you run bash scripts
Krill is the one here but itโs also dead rn
Yes it can run bash scripts
nice
Anything a computer it can do with enough practice
Confirmed recent change from Anthropic to block non-CC use https://x.com/thdxr/status/2009464964550152613
Peter is already working on a fix
Mmmm antigravity keeps giving me 429 errors, saying "Resource has been exhausted" but that's not the case as far as I can tell; I should have plenty left and can use the Agent in the Antigravity app just fine...
i got this error "LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests."
id been looking at setting up clawd but never got around to it
Timing immaculate
fr
i still sort of dont get what it is, like it's a personal assistant that can do everything and runs everywhere? (after you add adapters / plugins) haven't read through the docs too much yet
was planning on building something similar for myself that i could message and it'd be able to auto triage stuff to add to my todo list, calendar, grocery list, order groceries for me etc - clawd seems like it could do that
This would be extremely trivial for it actually
Think of it like a human whoโs sitting down at a computer and thatโs pretty much what it is (hyperbole, but it helps get the point across)
interesting, whats the setup for browser access?
Itโs biggest powers are the browser tool and the bash tool, combine those two and it can do most everything, but thereโs also a huge Library of extra skills that people have created at https://clawdhub.com
It just uses playwright with chrome
Last I checked, at least, things change fast here (update announcements are hourly lol)
Anyone figure out how to add the patch he shipped
Best advise is to wait until itโs stable
But after that youโll be able to just pull from the main branch
Thanks
What does fix mean here?
Unbreak it
A few things that impress me about Clawdbot versus a really built-out opencode setup (or other agent with lots of skills etc):
- enough of a memory layer to handle things like personality and also short-term stuff
- heartbeat as well as custom cron jobs autonomous "follow up" stuff
- has a concept of "nodes" so that i run my clawdbot on a VM, but I also run the mac app in "node mode", so the VM-based agent can hook into my macbook when needed (which proper permissions of course)
- this could also become handy with ios/android, haven't really looked into that but it's in the works
- mac app has full config support but there is also a good web UI for management and visibility (along with just JSON config)
- built-in support for various chat providers (discord, telegram etc)
- has the concept of "sessions", which are basically different agent threads. you have your "main" agent thread for DM'ing, but you can also have, for example, different sessions for a different Discord channel. Could be very useful for a shared bot with your spouse/friends/coworkers/etc
- can customize prompts, model, tools, etc per session. I believe this is how the different agents in this discord are setup
And across the board, I'd say things are very much being built in the moment, but it's clearly designed to be super robust and I'm surprised at how stable it is already (although be very prepared to debug and read docs). But basically it's convinced me to be something worth investing my time in
appreciate the write up! nodes is interesting that's pretty cool, what are you using it for?
Grappig
Dankjewel dankjewel, hard op gewerkt
Oh can't talk directly to clawd mb
@rapid hare yo yo so what Models everyone's running now after CC is not relevant?
krill is read lol
im gonna swap to minimax2.1 just in the mean time
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests. = what would cause this?
Wait for peters full fix
Well in my case I have clawdbot on a Hetzner VM, but I want it to be able to do some stuff on my mac. For example, see local projects, local git history, maybe apple notes, and at some point agentic dev work that I can drive from my phone easily. I will say that I've only had this mac node <-> clawdbot vm setup for a day, and I'll start slow on the permissions i give it
can I use minimax with API key not LMstudio?
why is my build still failing I got the latest commits
yes i just had claude code do the change for me
can you show the setup? im running on vps so no CC yet
i think in clawdbot.json it's
"models": {
"mode": "merge",
"providers": {
"minimax": {
"baseUrl": "https://api.minimax.io/v1",
"apiKey": "API KEY",
"api": "openai-completions",
"models": [
{
"id": "minimax-m2.1",
"name": "MiniMax M2.1",
"reasoning": false,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
},
same are you stuck at
Found 9 errors in 3 files.
Errors Files
3 src/agents/auth-profiles.ts:318
3 src/commands/auth-choice.ts:2
3 src/commands/configure.ts:14
``` just ts errors
/home/jordy/clawd/clawdbot/src/commands/auth-choice.ts:2
loginAnthropic,
^
SyntaxError: The requested module '@mariozechner/pi-ai' does not provide an export named 'loginAnthropic'
I'm getting this also ๐ฅฒ
minimax api setup
@rapid hare clawdbot gateway restart got removed?
krill is dead rn
it seems like minimax just returns all of it's reasoning for no reason
clawdbot gateway restart
seems to be removed? I must be doing something wrong probs:
bun run clawdbot gateway restart
$ tsx src/entry.ts gateway restart
error: too many arguments for 'gateway'. Expected 0 arguments but got 1.
error: script "clawdbot" exited with code 1
Try with daemon restart
clawdbot daemon restart
perfect, thank you both โค๏ธ
Anyone know how to cancel/kill the current task that clawdbot is working on?
mines working but tools are still disabled
@rapid hare u der
turn /reasoning off also
how do you send it? as on telegram it just tell me it doesn't know it or someething
yes it will have to process the messages first, tg still struggles with that msg flow - I think there's a fix for it in recent pulls but i haven't confirmed them yet
my pain #old-help message
weird you don't have the reasoning command, you can turn it off in clawdbot.json
"models": [
{
"id": "minimax-m2.1-gs32",
"name": "MiniMax M2.1 GS32",
"reasoning": false,
"input": [
"text"
],
is there a way to run minimax_ai on old mac's with intel processor ?
lm studio doesn't work on those macs
telegram queues messages on their end if the bot doesnt ack them
you can run the api directly rather than through lmstudio
so when the bot connects again it gets every single message
Why is cLawdbot not able to use Claude Code sub anymore was there a recent change effecting this
@rapid hare i get: LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
@zealous hill @cosmic snow update to latest main
iOS doesnโt have backticks so sorry but please help ๐
clawdbot@2026.1.8-2 clawdbot /home/jordy/clawd/clawdbot
tsx src/entry.ts gateway
๐ฆ ClawdBot 2026.1.8-2 (133124e) โ curl for conversations.
05:58:18 [canvas] canvas host mounted at http://0.0.0.0:18789/__clawdbot__/canvas/ (root /home/jordy/clawd/canvas)
05:58:18 [canvas] canvas host listening on http://0.0.0.0:18793 (root /home/jordy/clawd/canvas)
05:58:18 [bridge] listening on tcp://0.0.0.0:18790 (node)
05:58:18 [heartbeat] heartbeat: started
05:58:18 [gateway] agent model: anthropic/claude-opus-4-5
05:58:18 [gateway] listening on ws://0.0.0.0:18789 (PID 65249)
05:58:18 [gateway] log file: /tmp/clawdbot/clawdbot-2026-01-09.log
05:58:18 [browser/server] Browser control listening on http://127.0.0.1:18791/
05:58:18 [whatsapp] [default] skipping provider start (no linked session)
05:58:18 [telegram] [default] starting provider (@JordyClawderBot)
05:58:20 [gateway] received SIGUSR1; restarting
05:58:25 [gateway] shutdown timed out; exiting without full cleanup
jordy@supple lark:~/clawd/clawdbot$
still have the same issue LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests... anthropic pulled the plug right?
Did you update dependencies
What's the point of the coding plan if it doesn't include api credits?
no use to me!
Huh, interesting. Thought coding plan was the way to go. So can just jump straight to api usage?
Both KimiK2 and MiniMax M2.1 have coding plans that seems to work fine with API keys into any AI agent. What has everyoneโs experience been with them? Which works best for agent use at the moment?
So itโs working now but seems off and canโt use tools right anymore. Are you guys experiencing the same?
how do you update the dependencies? I followed the process to pull from git, install, and build but i'm stil running into issue
@rapid hare how do i use minimax hosted with clawd ? not on openrouter https://platform.minimax.io/docs/api-reference/text-openai-api
Minimax direct api setup
Here also
they recommend though anthropic compatible, not openAI compatible https://platform.minimax.io/docs/api-reference/text-anthropic-api
Might be a better setup, this just got my clawd back online asap
hi all!
I was on an older pre-renamed-to-clawdbot build.
i backed up ~/clawdis, ~/.clawdis, and my Projects/clawdis directories to be safe.
i did a clone to a new directory because I have some changes i'll manually merge.
but something has gone wrong. my clawd doesn't know any of its discord / telegram / etc keys/auths. I tried copying the saved ~/.clawdis/clawdis.json to ~/.cladbot/clawdbot.json but its not working.
Any ideas?
Have you tried clawdbot doctor
This thing has just been spamming this for the past few hours.
Also says I've been spamming it with the same message for hours.
WTH is happening
how to update my bot the easiest way?
I added logging on main, uninstall daemon and run gateway direct to see
Aren't you supposed to be asleep? ๐
{
"role": "assistant",
"content": [],
"api": "google-gemini-cli",
"provider": "google-antigravity",
"model": "claude-opus-4-5-thinking",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767944048218,
"errorMessage": "Cloud Code Assist API error (429): {\n "error": {\n "code": 429,\n "message": "Resource has been exhausted (e.g. check quota).",\n "status": "RESOURCE_EXHAUSTED"\n }\n}\n"
}
still getting this error for antigravity even though i already git pull and reauthenticated (definitely have not hit any limits)
Claude fixed it -- just ran into some build errors that git reset and git pull fixed
ok im finally back up. open router with m2 api. way cheaper is working in discord and telegram on linux server
@deft wigeon this is what Claude thinks the problem is
- When /restart triggers SIGUSR1, the gateway restarts
- The in-memory seen Set is wiped out on restart
- WhatsApp reconnects and re-delivers offline messages (including /restart)
- Since seen is empty, the /restart message is processed again
- Loop repeats forever
Arh Anthropic had the worst timing to pull the plug on subscription usage via Claude code โฆ currently travelling with only my phone - trying to fix it sshing in a remote Mac mini via blink iOS app . What an era ๐ฅฒ!
Is there something official on this from anthropic?
no
@rapid hare
๏ปฟ - discord loves to not respond to message so I had to create a watchdog - here's how I did it - analyze your codebase - is this worthy of an issue and PR?
What are people considering as an alternative to Claude Max?
@alpine sluice ive just setup minimax m2 api via openrouter api. is working very well
@stable crypt who is the one billing? OpenRouter? Which plan are you on?
@alpine sluice yes open router so its another expense but seems really slick and is running some good complexities for me.MiniMax M2 pricing (common across providers and API gateways):
~$0.30 per 1 million input tokens
~$1.20 per 1 million output tokens
(This pricing comes from official MiniMax platform info and independent trackers)
โ Thatโs roughly 8โ10ร cheaper than a premium model like Claude Sonnet/Opus on output tokens.
Thanks @stable crypt for the info. And are you happy with that model?
@alpine sluice to be honest ive literally just got it running last half hour but its quick, and seems to handle my complexities. so i have not noticed any difference at this stage from opus (other than it works), but im not coding on it, ill keep my anthropic plan for that for now, just in case they come back on board with oauth. So early to tell, but seems a good cost balance rather than full anthropic api, and seems to be really good so far. Im actually already really happy. I will even try it as a coder later and it might save me a fair stack
What do you use for coding?
@alpine sluice I use claude code opus 4.5 on the max plan
Did you try Zโs GLM models by any chance?
No, I've only just starting to hear about Z' GLM today. Could be worth a try. I did pull the latest from gh, as I was having issues with tool calling from other models. I dont local host, I use open router. Only from today. Was just using Anthropic Oauth.
@alpine sluice If you want best value per dollar for coding/agent loops โ MiniMax M2
If you want a bit more โpremium feelโ in reasoning + writing + agent framework integration (and donโt mind paying more) โ GLM 4.6
@rapid hare is this double posting normal, I have your brother in my discord and not sure what's up and too late to look at any code.
@rapid hare my clawd says that this introduced a bug for discord chatting - what do you think? He's having trouble responding to me in discord now
๐ฆ Found the bug!
Commit 50cecd82 (Jan 4) by Shadow removed channel_id from the message body:
- const textWithId =
${text}\n[discord message id: ${message.id} channel: ${message.channelId}];
- const messageText = text;
The intent was to avoid duplicate IDs since message_id is now added by body.ts โ but channel_id was accidentally lost!
The fix: Either:
Add channel:${message.channelId} back to the current message metadata (line 892)
Or add channelId to applySessionHints in body.ts
@rapid hare My clawd doesnt seem to read agents properly or know it has all the skills ive added. Something feels like it changed. I have to keep reminding it.
[8:27 AM, 1/9/2026] Octo: The issue: TOOLS.md gets injected in my context but it was truncated - I can see in my system prompt it says "[...truncated, read TOOLS.md for full content...]". So I only saw the first part, not the Google Workspace section further down.
[8:27 AM, 1/9/2026] Octo: I should be reading the full file explicitly at session start rather than relying on the truncated injection. That's my bad - AGENTS.md tells me to read my files, and I was lazy about it.
I should read the SKILL.md files as needed rather than fumbling around. My bad for not checking this sooner.
Didnt think i needed to remind it to check it's skills every time or have tools set up for every skill.
lol same
Clawdbot did mine via my telegram chat https://x.com/iAmHenryMascot/status/2009524044438155615?s=20
๐ฆ๐ฆ๐ฆ
@rapid hare anything I can do to make my bot keep forgetting it has access to tools been pretty annoying lately to keep reminding it. You have access to slack, you can use my google workspace api etc lol
Mine was doing that as well I switched to my api key then back to oauth and it just started working perfectly like it did before
How did you manage this? I can get a model list but then trying to apply the model I got the Anthropic error
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
@rapid hare help
Use git pull, @deft wigeon and Mario came up with a fix overnight. Anthropic made a change to the API to prevent non CC use of the tool (a shame)
I dont get it running even when i try to pull from source etc, but i think over the day it will be clear how to update right?
Have you restarted your gateway after the pull? Maybe try a session reset also?
@rapid hare Does the workaround still work with the subscription plan (max plan)? Like it is working right now but it's not charging me separately for API key usage is it?
pretty sure i did, i try again
Fixed clawdbot in WSL: config had sandbox: true (boolean) but new version needs sandbox: { mode:
"off" } (object). Then pulled latest from main branch, rebuilt from source (git pull && pnpm build
&& pnpm ui:build), cleared sessions, and restarted daemon. The API credential fix isn't in the npm
release yet - only in main branch source.
-> LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
-> LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
how to fix this? is this already dealt with or no?
Use git pull, @deft wigeon and Mario came up with a fix overnight. Anthropic made a change to the API to prevent non CC use of the tool (a shame)
@supple lark I have got this in my telegram after adding my clawdbot to an empty telegram group with no activity but /activation always
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
git pull is basically not working for me, or may i fucked it up, happy to see if it works for others ๐
i just git pulled and restarted, still same issue :(
can you direct me to the exact thing i need to look at to fix this. iโm so pissed!
still?
nvm, i wasnt on the main branch, thats why. it works again now!
I heard crashloop, missing the osc package and worked
can you provide a prompt for my CC to fix that as well? ๐
bro
go out of your cc
a litttle lesson of git for you
its gonna be fine
do you have the terminal open in your clawdbot directory?
nope i dont; i can just remote push that via CC right now, work pc
anyway, i can also relax and wait i guess haha
okay then just tell it to switch to main branch pull everything and then restart the gateway
thanks mourad!
here we go Done. Updated to 2026.1.9 (was 2026.1.8-2), rebuilt, and daemon restarted. Try your Telegram bot
now.
did you need to oauth afterwards again? can you check if 2026.1.9 fits?
how did you add the api?
we are fuckn back!
Fix for "LLM request rejected: This credential is only authorized for use with Claude Code" error
The fix for Anthropic Max OAuth isn't in the npm release yet (2026.1.8-2) - it's only in the main branch source code (2026.1.9).
The problem:
Even after pulling the latest source and rebuilding, the daemon was still running the old global
npm/pnpm install (2026.1.8-2) instead of the source build. The systemd service file was pointing to the wrong location.
The fix (run in WSL):
cd /home/fabian/clawdbot
git checkout main
git pull
pnpm install
pnpm build
pnpm ui:build
pnpm clawdbot daemon stop
pnpm clawdbot daemon uninstall
pnpm clawdbot daemon install
pnpm clawdbot daemon start
Key insight:
Just rebuilding from source isn't enough - you must uninstall and reinstall the daemon so the systemd service points to the source build (/home/user/clawdbot/dist/index.js) instead of the global pnpm install (~/.local/share/pnpm/global/.../clawdbot@2026.1.8-2/.../entry.js).
Verify with:
pnpm clawdbot daemon status
Check that the "Command:" line points to your source directory, not the pnpm global directory.
Current working version: 2026.1.9 (from main branch source)
we back baby!
I've just started getting this after after pulling the latest updates and installing and restarting the gateway. I'm using antigravity oauth and and sonnet 4.5 as my primary model with gemini pro 3 as the fallback. It's the first message of the days so I know my usage is ok.
"error": {
"code": 400,
"message": "{"type":"error","error":{"type":"invalid_request_error","message":"tools.4.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12 (https://json-schema.org/draft/2020-12). Learn more about tool use at https://docs.claude.com/en/docs/tool-use./"%7D,/"request_id/":/"req_vrtx_011CWwcdANVAudE3uJgVQjry/"%7D",
"status": "INVALID_ARGUMENT"
}
}```
How do I switch my setup to openrouter with API key in the JSON config (in response to CC oauth drama)? Not sure where to supply the API key
@supple lark @rapid hare y'all still active here? I need help!
thanks boss! we are back with luigi
What is the correct syntax for the codex model/s?
can you chec, this
@golden basin
Hi all, I feel bit silly asking here. Been slowly learning to code and using all these great Ai apps.
Wondering what clawd bots use is?
Do I need to route this via openrouter? I canโt find docs on what it does..
Iโve been using Claude code on my Mac but I have a hackintosh with 128gb ram doing nothing 2TB ssd and a 8gb video card. Any use
Iโm not lazy happy to read if anyone can link me to something to read. Thank you!
I assume itโs simply a bot and Iโd use it with api Gemini etc whys the hype with this? Is it good?
Looking for different options vs Claude code
Hi everyone, maybe Iโm doing something wrong, but why does the bot reset the session after the daemon restarts when I send a message in a Telegram topic? It seems to forget everything related to that topic.
does anyone run this on hetzner or vps?
me!
Is there any guide which I can follow to properly set this up on a hetzner vps?
I mean this is a decent starting point: https://docs.clawd.bot/platforms/linux#beginner-quick-path-vps
this was the fix I got codex to put in place and I've just tested it and now working
In src/agents/bash-tools.ts, I changed the process toolโs action schema from an enum to a plain string:
Before:
action: stringEnum(
["list", "poll", "log", "write", "kill", "clear", "remove"] as const,
{ description: "Process action" },
),
After:
// Some Claude/Vertex endpoints reject enum-heavy schemas; keep this permissive.
action: Type.String({ description: "Process action" }),
Why this is safe
- The runtime logic already validates action via a switch and returns an โUnknown actionโ response for invalid values.
- So loosening the schema doesnโt change behavior; it only avoids the server rejecting the schema before the request is processed.
What else changed
- I removed the now-unused stringEnum helper in the same file.```
right now I am struggling getting the gateway running. I think clawde set up a seperate systemctrl type thing to automatically startup when the vm comes on, and something has messed up.
@rapid hare can you stop messaging my contacts pls - also can someone tell me how to stop this pls
get a second number for you clawd and update the project ๐
how did u fix this
popped the fix a few messages up after getting codex to debug it
Can anyone help here? I am pulling my hair out. can't figure out why I am getting no responses - not even an error
Antigravity also dead for me
Thing is I tried switching it back to anthropic and it just...wont
You might have to restart the gateway manually after manually switching, that worked for me
i do /models and it won't even show me the models
How do you do the manual switch/
I just want a stable provider for my clawd ๐ญ
You have to edit the clawdbot.json config in .clawdbot dir in your home directory, I have Claude Code on the same machine so I just started that up and asked it to review the documentation and switch it to the anthropic OAuth which I already configured as primary and restart the gateway
yea frustrating af, just build a full automatic time tracker for my fox, now he'S dead and cant provide^^
that sounds wise. installing claude code now!
Started getting this message this morning but i didnt change anything with auth or models:
LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
just set up clawdbot and getting the same. fun timing. is there any way to set it up with openrouter/vercel AI gateway?
๐ง Fix for Antigravity tool_use.id validation error
Date: 2026-01-09
If you're getting this error with Antigravity/Google Cloud Code Assist:
messages.X.content.Y.tool_use.id: String should match pattern '^[a-zA-Z0-9_-]+$'
The fix: Sanitize tool IDs before sending to providers.
File: src/agents/pi-embedded-helpers.ts
1. Add this helper after line 20 (after the BOOTSTRAP_TAIL_CHARS const):
const TOOL_USE_ID_PATTERN = /^[a-zA-Z0-9_-]+$/;
function sanitizeToolUseId(id: string): string {
if (TOOL_USE_ID_PATTERN.test(id)) return id;
const cleaned = id.replace(/[^a-zA-Z0-9_-]/g, "_").replace(/_+/g, "_");
const trimmed = cleaned.replace(/^_+|_+$/g, "");
if (trimmed) return trimmed;
let hash = 0;
for (let i = 0; i < id.length; i += 1) {
hash = (hash * 31 + id.charCodeAt(i)) | 0;
}
const suffix = Math.abs(hash).toString(36);
return `tool_${suffix || "0"}`;
}
2. In sanitizeSessionMessagesImages(), add ID mapping at the start:
const toolIdMap = new Map<string, string>();
const getToolId = (value: string): string => {
const existing = toolIdMap.get(value);
if (existing) return existing;
const next = sanitizeToolUseId(value);
toolIdMap.set(value, next);
return next;
};
3. Sanitize IDs in the message processing:
For toolResult messages, change:
out.push({ ...toolMsg, content: nextContent });
to:
const toolCallId =
typeof toolMsg.toolCallId === "string"
? getToolId(toolMsg.toolCallId)
: toolMsg.toolCallId;
out.push({ ...toolMsg, toolCallId, content: nextContent });
For assistant messages with toolCall blocks, before filtering content:
const normalizedContent = content.map((block) => {
if (!block || typeof block !== "object") return block;
const rec = block as { type?: unknown; id?: unknown };
if (rec.type !== "toolCall" || typeof rec.id !== "string") return block;
return { ...block, id: getToolId(rec.id) };
});
const filteredContent = normalizedContent.filter((block) => {
// ... existing filter logic
});
4. Rebuild and restart:
pnpm build && node dist/entry.js gateway --force
โ ๏ธ Important: This is a temporary fix
This patch will likely conflict with main once the official fix lands (expected soon).
To apply this fix temporarily:
cd ~/Clawdbot
git stash # Save any local changes
git checkout -b dev-antigravity-fix
# Apply the changes above, then:
pnpm build
node dist/entry.js gateway --force
To revert back to main once fixed upstream:
cd ~/Clawdbot
git checkout main
git pull origin main
git branch -D dev-antigravity-fix # Delete the temp branch
pnpm install
pnpm build
node dist/entry.js gateway --force
If you have the systemd service running:
sudo systemctl stop clawdbot
# Do the git checkout/build steps above
sudo systemctl start clawdbot
Branch with fix: dev-antigravity-sanitize (local)
Commit: 87f2b269
@supple lark - whatโs the step by step fix to: LLM request rejected: This credential is only authorized for use with Claude Code and cannot be used for other API requests.
has anyone managed to run clawdbot from VM with access to tools (such as calendar integration)?
had this new error earlier today "400 This credential is only authorized for use with Claude Code and cannot be used for other API requests." as response to all messages which seems to be coming from Anthropic now restricting Claude Max OAuth tokens to the official Claude Code client, so any API request (like cliproxy I was using to use my claude max subscription) gets rejected
might be a discord thing. I've checked in Slack and my bot is responding there but has stopped completely in Discord. Nothing even showing in the logs for my messages
new error wrong folder [tools] Read failed: ENOENT: no such file or directory, access?
running into this issue as well... sorry if this is a dumb question, but do you know how I'd fix this if I'm not running from source? I re-installed the daemon and tried going through onboarding fresh, but I'm still running into the mysterious "LLM request rejected" messages
After 2h onboarding with @weak tendon I got this error message of death. aaahhhh
Rerolled the api key, don't worry
I didn't know that daemon was the last step
I ran through the pnpm clawdbot onboarding and now no idea how to start clawdbot?
I started getting some internal messages on Telegram after every Clawd messages . Any idea what might be causing this? E.g "Sent a clear explanation on Telegram." or "Sent a reply on Telegram"
what is a daemon? launchd seems to run this daemon, but I didn't know it was running actually. WOuld be nice to know this somehow.
When i turn off my computer, the daemon will stop. what happens when I reboot my computer again? does it auto boot?
discord still has some issue, we've been working on them
gooooooood morning everyone! I'm assuming Clawdpocolyps is over? Anyone have link/steps to what we need to do? Just pull and restart?
yea just pull and restart, and I've also used the new anthropic token connection
so far no issues
#general message this anthropic token
hi @rapid hare
{
"role": "assistant",
"content": [],
"api": "anthropic-messages",
"provider": "anthropic",
"model": "claude-sonnet-4-5",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767965648186,
"errorMessage": "400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CWwtcK8fpD9Co9pDQ9Fwo\"}"
i'm getting this error saying that it's not good for api call. yesterday everything worked well but not anymore
has anything changed since yesterday?
i already pulled latest and intalled, restarted
check my top message, it's what happened over night, pull the latest changes and restart
as i wrote; already after the lastest change and restart
checking your top message
so Ihave to install Claude Code for the first time ๐ Thanks!
yea did that too on my vps hahaha
try the new anthropic token solution as well
violating TOS since 1983
hey @rapid hare , is the README on the github repo updated with the latest changes/stuff? i missed 2 days here and i feel like i missed 6 months worth of progress
more like 12 months in normal corp engineering time
try #freshbits it has the latest summaries per hour, but offline for the last 10 hours haha
hm... pulled, reinstalled, built and still on 2026.1.8 and don't see the mentioned setup :/
try running running claude code locally to do the pull for you and check about it, should work
make sure you are on the main branch git branch, make sure you actually have the changes ...
llol or yeah, have claude figure it out
was about to type out debug steps like a cave man
yea like who does that lol
so 2025
should i do it by my naked hands... no way ๐
oh I plan to, don't worry Anthropic!
fixed
oh if you only knew
fyi; the reason i didn't see it i forgot that i installed globally the clawdbot and even if i pulled/built the latest version forgot to upgrade the global one ๐คฆ๐ผโโ๏ธ
thanks anyway ๐๐ผโโ๏ธ
this is what my onboarding says, but i get the LLM request rejected message. any ideas?
you want 2nd option with paste in it
yeah, and you should hit the claude setup-token that will bring to the authorization page and by auth you can get the token in your terminal
copy paste and done โ
ok, i think that's what I had done but i'll do it after this meeting
but it just doesn't work for me ๐คท๐ผโโ๏ธ
after setting up the token for claude the clawdbot kept saying ```Invalid config:
- auth.profiles.anthropic:default.mode: Invalid input```
same for me. did you find a solution to this?
strange; the configured mode's value is token, and it should be okay (was set by clawdbot configure) claude works on it now ๐คท๐ผโโ๏ธ
Is @rapid hare alive? I just updated but got this
clawdbot % pnpm clawdbot gateway restart
clawdbot@2026.1.8-2 clawdbot /Users/ignacioperez/PROJECTS_2025/clawdbot
tsx src/entry.ts gateway restart
error: too many arguments for 'gateway'. Expected 0 arguments but got 1.
โELIFECYCLEโ Command failed with exit code 1.
did anybody had problem with fallback . it doesn not work for me but if put minimax for exemple to primary model it is working.
works again; claude fixed it
not sure why but it was needed to rebuild again
claude saying
The valid values are:
- "api_key" - for API key authentication
- "oauth" - for OAuth flow
- "token" - for token-based authentication (like Anthropic API keys)
What fixed it: Running pnpm build to rebuild the project. Clawdbot should now start without errors.
For future reference, if you see unexpected validation errors after pulling updates or switching branches, try rebuilding with pnpm build first.```
๐คท๐ผโโ๏ธ
but i have a gut feeling isntalling clawdbot globall and using it from the repo root by pnpm can distrub each other (not sure how though)
Trying to build from source, but get this error on main
src/auto-reply/reply/directive-handling.ts:1056:15 - error TS18004: No value exists in scope for the shorthand property 'agentDir'. Either declare one or provide an initializer.
i am up and running. Could someone explain in non tech terms what the fix did? we switched from oAuth to claude-cli? is it expected that Peter's boss at anthropic will close this door too?
definitely interested in this as well. If this is going to be a cat and mouse game, I want to start working on moving to a different model and tuning the prompts around that
how to add second oauth authorization to anthropic
Hey Krill, I was getting
"Error: launchctl bootstrap failed: Bootstrap failed: 125: Domain does not support specified action"
is the only way to run "pnpm clawdbot gateway" manually
or have other fixes already been put in place (I cloned the repo just an hour ago)
...have we lost @rapid hare
basically i asked my CC to fix it by pulling from source, rebuild, restart, i added the credentials again (dont know if that was needed) - so basically i would use my post as a basis and fix with CC
@rapid hare or anymore ... Whats the recommended way to handle this sort of error.
I've had it twice since this morning.
I notice my responses get ridiculously slow, then when i check terminal i see this.
Ahh Krill is offline...
Trying to build from source, but get
@rapid hare how do i setup antigravity oauth?
Had to kill the harness. Clawdbot ran a node server in the foreground which blocked it from doing anything
Whatโs the latest guidance on fixing the Anthropic Oauth issue from yesterday?
peter said to just run git pull.
i used this
#old-help message
Tried this but didnโt work
is this different then getting the new code and installing?
installing from scratch you mean? or installing "the new code"?
i followed the instructions i linked above, it pulled but also reinstalled the "daemon" (which i don't know that is lol)
but i did not do the 1 year oauth token
yes i had to rebuild and restart daemon on another installation of clawdbot.
im using pm2 on my home one though so it was just a pm2 restart after rebuilding.
but ya always run git bleeding edge, the amount of commits being pushed in between package releases just takes too long
Has anyone tried installing in a docker on a vps and then connecting to it? I want to run tools in a containerized way on VPS and chat to remote setup from my machine.
I built this so that Clawdbot can get infos about my codex sessions. How do I best add a skill to the repo so that folks can easily install it? https://github.com/Cocoanetics/CodexMonitor
Tools for listing, inspecting, and watching local OpenAI Codex sessions (CLI + VS Code) โ includes a macOS menu bar app to view recent sessions and their messages. - Cocoanetics/CodexMonitor
Hey im stuck at onboarding for antigravity, im sitting at wsl2 but when i try to authenticate on my parent machine the http://localhost:51121/ is not reachable, i guess its not exposed by wsl?
try and change your NAT settings for WSL
I get LLM request rejected when I try via Telegram bot. Using Claude max.
Known issue, or any workaround?
When using the clawdbot message command documented at https://docs.clawd.bot/start/getting-started#7-verify-end-to-end, I am told the command doesn't exist.
Does the OAuth fix only work with Claude Max or also with Pro?
Does clawdbot work with Gemini API?
documentation is for git main; npm lags behind a few hours. I literally just made this
aaah, gotcha ๐
both; gemini: badly
@deft wigeon - what are the current steps? Iโve pulled main, installed, built, uninstalled daemon, reinstalled daemon and started it.
Do we need to onboard again? Still getting the LLM request rejected
any log you can attach here?
Is it a known issue that inbound discord messages stop working? Running this whole thing on a real slow thing but I can only talk to my friend for like 10 minutes before he stops responding. Still works on web chat. Getting Slow listener detected: DiscordMessageListener took 70.8 seconds for event MESSAGE_CREATE messages and then it just.. stops.
read website docs. do setup-token
@deft wigeon know issue, or any workaround. I set up via basic onboarding.
any clues?
"role": "assistant",
"content": [],
"api": "anthropic-messages",
"provider": "anthropic",
"model": "claude-opus-4-5",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767973541657,
"errorMessage": "400 {"type":"error","error":{"type":"invalid_request_error","message":"This credential is only authorized for use with Claude Code and cannot be used for other API requests."},"request_id":"req_011CWx4eBNpFJMRyUjrRBCzv"}"
}
Using antigravity as model. My main issue remains that it seems fallback is not working. So things like cron tasks sometimes fail due to overload and the system just drop the ball
was working yesterday ๐ฆi have the pro oauth setup
I did the claude-code cli auth method, you go into claude code and do a /get token (or something), then paste a year long token into clawd configure, that is working well for me
I tired that but still doesnโt work, same llm error
but I never saw the error from today, my issue was having Claude Code on the same machine and the two auth tokens getting confused and getting the error about them being unable to be renewd
pull the update from main and try it
and yeah when pulling check it actually pulls, if you changed a file it will block the pull, but it would tell you
Does anyone have an example of how to configure the minimax model? Im gettting this error: Agent failed before reply: Unknown model: minimax/minimax-m2.1. Check gateway logs for details.
this happened to me the other day, clawd had stored a skill i created in the repo, i had to move it out (which is correct anyway)
Alright, ClawdBot on MacOS working again with Claude Max plan.
Here's what I did:
git checkout main
git pull --rebase (skip this if you don't have any local branch with your own changes)
pnpm install
pnpm build
pnpm ui:build
pnpm clawdbot daemon uninstall
pnpm clawdbot daemon install
pnpm clawdbot daemon start
and then
new token: claude setup-token
sync into clawdbot: pnpm clawdbot models status
Restart gateway: launchctl kickstart -k gui/$UID/com.clawdbot.gateway
"code": 400,
"message": "Function call is missing a thought_signature in functionCall parts.
Anyone seeing this with gemini flash on antigravity?
not exactly that but I started getting an error with antigravity too (everything was working fine like 10 minutes ago):
"errorMessage": "Cloud Code Assist API error (400): {\n "error": {\n "code": 400,\n "message": "{\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.167.content.0.thinking.signature: Field required\"},\"request_id\":\"req_vrtx_011CWx5r85aMRB2pTFwJ7FpM\"}",\n "status": "INVALID_ARGUMENT"\n }\n}\n"
I have claude opus as my primary and had gemini flash as the back up... tried to switch to gemini 3 pro as the back up and it "corrupted" something, now every requests gets that, even if I remove the fallback
i still end up on version 2026.1.8-2 (with the same issues) - should i be on a different version?
i had opus on primary, added flash as backup and instantly got this
I followed the quick onboarding wizard to set this up, and don't have claude installed. Do I need claude locally to set up token the right way now?
only thing somewhat relevant I found while googling was this: https://github.com/cline/cline/issues/7620
Anybody having issues checking claude usage after setting up the long lived token?
There's some PRs for that, pull them in and test - would help me
yes, git pull
yes
actually no it should work without, but with it'll last longer before you have to do it again
yeah. that's not working yet.
alright, thanks
@jagged hedge ah, looks like the relevant PR is here: https://github.com/clawdbot/clawdbot/pull/548
i just ran into this issue after it working. hmmm is this a new thing?
Wowww, so it's because of the fallback? which means flash as default will work!
Okay, no it doesn't. Need the PR
hmm yeah that's possible... switching mid-session is basically what "corrupts" the session (as far as claude/opus is concerned); but it might be fine if you switch to flash as the default yeah, it does make clawd a lot less interesting though haha
oh damn, well there you go ๐ญ
429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed the rate limit for your organization (75c3b816-8dda-4ada-984d-83067ca9fb0a) of 30,000 input tokens per minute. For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CWx8kQ7fZTLct1bPzvwi6"}
Back online! ๐ฆ Just posted a summary above. What's up?
@rapid hare does Clawdbot support "$SOME_VAR" for secrets in clawdbot.json?
i'm confused between the code fix (which i did and am working) and the long term claude oAuth, which i have not done, can anyone explain the difference and if i need to do the latter?
how to change the model from using opus to using sonnet? wanna try if my skill still work
@robok_ Good question! Here's the difference:
-
The code fix (git pull + rebuild) - This was required because Anthropic's API started rejecting the old OAuth flow. The new code supports a different auth method.
-
Long-lived token (
claude setup-token) - This is optional but recommended. It gives you a ~1 year token instead of the short-lived OAuth tokens that need frequent refresh. If you're working now with the old OAuth, it might keep working but could break again. The token method is more stable.
TL;DR: If it ain't broke, you're fine for now. But setting up the long-lived token is insurance against future auth issues.
@fabianadvanced A few ways:
- Chat command:
/model anthropic/claude-sonnet-4-5 - CLI:
pnpm clawdbot configureโ change agent model
Direct edit: ~/.clawdbot/clawdbot.json โ "agent": { "model": "anthropic/claude-sonnet-4-5" }
Then restart gateway or /restart
429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed the rate limit for your organization (75c3b816-8dda-4ada-984d-83067ca9fb0a) of 30,000 input tokens per minute. For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CWx9i4gvnBCVYtuNVmtqz"}
where?
429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed the rate limit for your organization (75c3b816-8dda-4ada-984d-83067ca9fb0a) of 30,000 input tokens per minute. For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CWx9jtDh1wvGekpc16dKA"}
429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed the rate limit for your organization (75c3b816-8dda-4ada-984d-83067ca9fb0a) of 30,000 input tokens per minute. For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CWx9mn4QwQGFEFt86hJQK"}
@rapid hare what are the models for "openai-codex:default"
๐ Gemini Pro really showing its whole thought process there - "(Wait, I'm thinking too much. Just run the curl.)" - relatable honestly
@ry0x My summary was here: #old-help message
@buddadoc The openai-codex:default profile gives you access to OpenAI's Codex models through their API. Available models include:
openai/gpt-5-mini(alias:gpt-mini)openai/gpt-5.2(alias:gpt52)openai/o3openai/o4-mini
You can check what's available with pnpm clawdbot models list or /models in chat.
429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed the rate limit for your organization (75c3b816-8dda-4ada-984d-83067ca9fb0a) of 30,000 input tokens per minute. For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CWxA1mGBgiaBQWCviyM3H"}
429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed the rate limit for your organization (75c3b816-8dda-4ada-984d-83067ca9fb0a) of 30,000 input tokens per minute. For details, refer to: https://docs.claude.com/en/api/rate-limits. You can see the response headers for current usage. Please reduce the prompt length or the maximum tokens requested, or try again later. You may also contact sales at https://www.anthropic.com/contact-sales to discuss your options for a rate limit increase."},"request_id":"req_011CWxA3kY5WY39pUo42Nh31"}
@rapid hare (base) ignacioperez@MacBook-Pro-5 clawdbot % pnpm clawdbot gateway restart
clawdbot@2026.1.8-2 clawdbot /Users/ignacioperez/PROJECTS_2025/clawdbot
tsx src/entry.ts gateway restart
error: too many arguments for 'gateway'. Expected 0 arguments but got 1.
โELIFECYCLEโ Command failed with exit code 1.
I just updated the entire repo and then ran the gateway restart and got this - any clues
Alive and kicking! ๐ฆ
The issue is you're still running the npm version (2026.1.8-2) instead of the latest from git. The gateway restart command was replaced with daemon restart.
Try this:
cd /Users/ignacioperez/PROJECTS_2025/clawdbot
git checkout main
git pull
pnpm install
pnpm build
pnpm clawdbot daemon restart
Or if you want to restart via launchctl directly:
launchctl kickstart -k gui/$UID/com.clawdbot.gateway
thank you I got my buddy back!!
How do I add minimax API key?
Add this to your ~/.clawdbot/clawdbot.json:
{
"models": {
"mode": "merge",
"providers": {
"minimax": {
"baseUrl": "https://api.minimax.io/v1",
"apiKey": "YOUR_API_KEY_HERE",
"api": "openai-completions",
"models": [
{
"id": "minimax-m2.1",
"name": "MiniMax M2.1",
"reasoning": false,
"input": ["text"],
"contextWindow": 200000,
"maxTokens": 8192
}
]
}
}
}
}
Then restart your gateway and set the model:
pnpm clawdbot daemon restart
In chat: /model minimax/minimax-m2.1
MiniMax M2.1 is solid and way cheaper than Claude (~$0.30/1M input, ~$1.20/1M output) ๐ฆ
So I can't add it by any of the baked in model options on onboard?
@rapid hare I've tried so many times to remove google antigravity (including hard reset etc)....
but I still keep getting this error! HELP!
{
"role": "assistant",
"content": [],
"api": "google-gemini-cli",
"provider": "google-antigravity",
"model": "claude-opus-4-5-thinking",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767978381153,
"errorMessage": "Cloud Code Assist API error (429): {\n "error": {\n "code": 429,\n "message": "Resource has been exhausted (e.g. check quota).",\n "status": "RESOURCE_EXHAUSTED"\n }\n}\n"
has anyone tried compiling sag on a linux (ubuntu)?
I am getting
../../go/pkg/mod/github.com/hajimehoshi/oto/v2@v2.4.3/context.go:32:11: undefined: context
../../go/pkg/mod/github.com/hajimehoshi/oto/v2@v2.4.3/context.go:106:21: undefined: newContext
@rapid hare are peolpe still using the claude code plans for their clawdbot? is it discouraged? or like what's the current status on this
@rapid hare is antigravity still supported?
Yes, Antigravity (Google Cloud Code Assist) is still supported!
Current caveats:
- There's a bug when using Gemini models as fallback with Claude - causes "thought_signature" / "tool_use.id" validation errors. PR #548 has a fix.
- Some users report sporadic 429 quota errors even with available quota
- Works best as primary model without mixing Claude thinking models in the same session
If you're hitting issues, either:
- Pull PR #548 for the fallback fix
- Use Antigravity as your only provider (no fallback)
- Or stick with the new Claude token auth as primary
Still a solid free option when it works!
๐ฆ
@rapid hare are people still using the claude code plans for their clawdbot? is it discouraged? or like what's the current status on this
Current status on Claude Code plans (Max/Pro):
โ
Still working - The overnight fix added support for long-lived tokens via claude setup-token. Most people here are back up and running with their Max subscriptions.
โ ๏ธ Gray area - Anthropic did intentionally block the old OAuth method for non-Claude Code clients. The token method works for now, but no guarantees they won't tighten it further.
What people are doing:
- Most common: Updated to latest main + using the new token auth โ working fine
- Backup plans: Setting up MiniMax, OpenRouter, or direct Anthropic API as fallbacks
- Free alternative: Antigravity (Google Cloud Code Assist) still works
My take: Use it while it works, but maybe set up a fallback provider so you're not dead in the water if Anthropic
closes another door. The token method is stable for now and Peter's actively maintaining it.
๐ฆ
@rapid hare whats the official documentation to translate voice entries (e.g. via telegram) with the bot? With an openAI Key and whisper API?i dont have openAI key but i guess its way easier then local whisper (e.g. brew install openai-whisper) ? Or is both doable?
Both are doable! Here's the rundown:
Option 1: OpenAI Whisper API (easier)
Add to ~/.clawdbot/clawdbot.json:
{
"transcription": {
"provider": "openai",
"apiKey": "$OPENAI_API_KEY"
}
}
Costs ~$0.006/min - pretty cheap and very accurate.
Option 2: Local Whisper (free but more setup)
{
"transcription": {
"provider": "local",
"model": "base"
}
}
Requires whisper installed locally (brew install openai-whisper or pip install openai-whisper). Models: tiny, base, small, medium, large - bigger = better but slower.
Option 3: Groq Whisper (fast & cheap)
{
"transcription": {
"provider": "groq",
"apiKey": "$GROQ_API_KEY"
}
}
Groq has a generous free tier and is blazing fast.
I'd recommend Groq if you want
free/cheap, or OpenAI if you want simplest setup. Local works but needs decent CPU/GPU.
๐ฆ
groq by xai? is that reported in the documentation or is that your hallucination? are some others use grok? what most do? or is groq not grok
Good catch - Groq โ Grok!
- Groq (with a Q) = Hardware company with super fast LPU chips, has a cloud API with Whisper support. Not xAI.
- Grok (with a K) = xAI/Elon's chatbot. Different thing entirely.
Honest correction: I should point you to the actual docs rather than potentially hallucinating config options ๐
For what most people do - OpenAI Whisper API is the most common since it "just works" and is cheap. But definitely check the docs for the exact supported providers and config format.
Sorry for any confusion!
[ops] Krill ping (ignore)
Add this to your ~/.clawdbot/clawdbot.json:
{
"models": {
"mode": "merge",
"providers": {
"zhipu": {
"baseUrl": "https://open.bigmodel.cn/api/paas/v4",
"apiKey": "YOUR_ZHIPU_API_KEY",
"api": "openai-completions",
"models": [
{
"id": "glm-4.7",
"name": "GLM 4.7",
"reasoning": false,
"input": ["text"],
"contextWindow": 128000,
"maxTokens": 4096
}
]
}
}
}
}
Then:
pnpm clawdbot daemon restart
Set model in chat: /model zhipu/glm-4.7
Get your API key from: https://open.bigmodel.cn/
GLM-4 is solid for the price - some folks here mentioned it has a nice "premium feel" for reasoning tasks.
๐ฆ
Yep, same process - just use the z.ai endpoint instead:
{
"models": {
"mode": "merge",
"providers": {
"zai": {
"baseUrl": "https://api.z.ai/v1",
"apiKey": "YOUR_ZAI_API_KEY",
"api": "openai-completions",
"models": [
{
"id": "glm-4.7",
"name": "GLM 4.7",
"reasoning": false,
"input": ["text"],
"contextWindow": 128000,
"maxTokens": 4096
}
]
}
}
}
}
Double-check the exact base URL in your z.ai dashboard - it might be https://api.z.ai/v1 or similar. Their docs should show the endpoint when you grab your API key.
Then /model zai/glm-4.7 in chat after restarting.
๐ฆ
Hi everyone, really liking Clawd so far! Problem I'm running into now is frequent (but somewhat random) failed to fetch errors. The chat logs get littered with this:
"role": "assistant",
"content": [],
"api": "openai-codex-responses",
"provider": "openai-codex",
"model": "gpt-5.2",
"usage": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"totalTokens": 0,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0,
"total": 0
}
},
"stopReason": "error",
"timestamp": 1767941967241,
"errorMessage": "fetch failed"
}```
I've had clawd add some retry logic but still seeing it a bunch. Any ideas?
"Fetch failed" is usually network-level - a few things to check:
1. Timeout issues - Long requests can timeout. Try adding to your config:
{
"agent": {
"requestTimeout": 120000
}
}
2. Check your network - Is this on a VPS? Some providers have flaky outbound connections. Try:
curl -I https://api.openai.com
3. OpenAI rate limits - If you're hitting their API hard, you might get dropped connections. Add a fallback model so you're not dead when it happens.
4. DNS issues - Sometimes DNS resolution flakes out. You can try adding to your /etc/hosts:
104.18.6.192 api.openai.com
5. Retry config - Clawdbot should retry automatically, but you can check:
{
"agent": {
"retryAttempts": 3,
"retryDelay": 1000
}
}
**6.
Fallback provider** - Set up a backup so you're not stuck:
/model openai-codex/gpt-5.2 --fallback anthropic/claude-sonnet-4-5
What's your setup - local machine or VPS?
That might help narrow it down ๐ฆ
thanks! this is on a local machine. my internet here isn't great so that is possible. will try tweaking configs as you suggested
Ah, flaky internet is probably the culprit then. The timeout + retry config should help a lot.
One more tip - if your connection is unstable, a lighter model as fallback can help since smaller responses are less likely to get interrupted mid-stream:
/model openai-codex/gpt-5.2 --fallback openai-codex/gpt-5-mini
Good luck!
๐ฆ
What is the variable I set to access gateway? What is the name?
I keep getting errors: model set failed: Error: model not allowed and my clawdbot setup refuses to stop [agents/auth-profiles] read anthropic credentials from claude cli keychain even though I've removed everything about that from my config
Could you clarify what you're trying to do? A few possibilities:
If you want to access the gateway remotely (web UI):
The gateway runs on http://localhost:18789 by default. To expose it:
{
"gateway": {
"host": "0.0.0.0",
"port": 18789
}
}
If you need to set a gateway token for auth:
{
"gateway": {
"token": "your-secret-token"
}
}
Or via env var: CLAWDBOT_GATEWAY_TOKEN
If you're connecting from another service:
The gateway URL would be: ws://your-host:18789
What are you trying to set up?
๐ฆ
Two separate issues there:
1. "model not allowed"
This means either the model isn't configured, or it's not in your allowed list. Check:
pnpm clawdbot models list
Make sure the model you're trying to use shows up. If you're adding a custom provider, the model ID needs to match exactly (e.g., minimax/minimax-m2.1).
2. Claude CLI keychain auto-detection
Clawdbot auto-detects claude credentials from your system keychain even without config. To disable this, explicitly set a different auth profile:
{
"agent": {
"model": "your-preferred-model",
"auth": "openai-codex:default"
}
}
Or if you want to completely block anthropic, you can remove the credentials from claude's keychain:
claude logout
What model are you trying to use? That'll help narrow down the "not allowed" error ๐ฆ
@rapid hare here's what I see "auth": { "profiles": { "google-antigravity:[email]": { "provider": "google-antigravity", "mode": "oauth" }, "openai-codex:codex-cli": { "provider": "openai-codex", "mode": "oauth" }, "openai-codex:default": { "provider": "openai-codex", "mode": "oauth" } } }, "agents": { "defaults": { "model": { "primary": "google-antigravity/claude-opus-4-5-thinking", "fallbacks": [] }, "models": { "anthropic/claude-sonnet-4-20250514": {}, "anthropic/claude-3-5-sonnet-20241022": {}, "anthropic/claude-3-opus-20240229": {}, "anthropic/claude-opus-4-5": { "alias": "opus" }, "anthropic/claude-haiku-4-5": { "alias": "haiku" }, "anthropic/claude-sonnet-4-5": { "alias": "sonnet" }, "anthropic/claude-3-5-haiku-20241022": {}, "google-antigravity/claude-opus-4-5-thinking": {} },
I see the issue! Your config has google-antigravity/claude-opus-4-5-thinking as primary, but you need to tell the agent which auth profile to use.
Add the auth field to your agent config:
{
"agents": {
"defaults": {
"auth": "google-antigravity:callil.capuozzo@gmail.com",
"model": {
"primary": "google-antigravity/claude-opus-4-5-thinking",
"fallbacks": []
},
...
}
}
}
Also, you have a bunch of anthropic/ models listed in your models block but no anthropic auth profile. That's probably why it keeps trying to read claude credentials - it sees those models and looks for auth.
Either:
- Remove the anthropic models from your
modelslist, OR - Run
claude logoutto clear the cached credentials
After fixing, restart:
pnpm clawdbot daemon restart
๐ฆ
What about password? I am accessing it via railway.
For Railway deployment, you'll want to set a gateway token for security:
In your Railway environment variables:
CLAWDBOT_GATEWAY_TOKEN=your-secret-password-here
Or in clawdbot.json:
{
"gateway": {
"token": "$CLAWDBOT_GATEWAY_TOKEN"
}
}
Then when connecting (web UI or API), you'll need to include that token.
For the web UI: It should prompt you for the token when you access it.
So it needs to be variables
For API/websocket: Include it in the header:
Authorization: Bearer your-secret-password-here
Make sure to use a strong random token since your gateway will be publicly accessible on Railway!
๐ฆ
Yep! In Railway, go to your service โ Variables tab and add:
CLAWDBOT_GATEWAY_TOKEN=your-secret-token
Railway will inject it as an env var when your container runs. Then Clawdbot picks it up automatically.
You can also set other config via env vars with the CLAWDBOT_ prefix if needed.
๐ฆ
Right now i just use you in a telegram bot setup.
Now how hard would it be to set up a telegram bot for my girlfriend? Or a group telegram chat? Well, she should just fill e.g. a calender entry, or a task entry but may not mess with files etc.
How hard would be to make it restrictive? that she cant blow up my setup?
Or other ideas?
Great use case! Clawdbot supports this with sessions and tool restrictions.
Option 1: Telegram Group with restricted session
Add a session config for the group in clawdbot.json:
{
"sessions": {
"girlfriend-group": {
"match": {
"provider": "telegram",
"chatId": "-100XXXXXXXXX"
},
"tools": {
"allow": ["calendar", "tasks", "message"],
"deny": ["bash", "write", "edit", "browser"]
},
"prompt": "You are a helpful assistant for calendar and task management only. Be friendly and helpful."
}
}
}
Option 2: Separate Telegram bot entirely
You can run a second bot token with its own restricted config - completely isolated.
Key restrictions you'd want:
{
"tools": {
"deny": ["bash", "write", "edit", "read", "browser", "process", "gateway"]
}
}
This blocks file access, terminal, and system stuff while keeping calendar/tasks/chat working.
Pro tip: Test the restrictions yourself first by sending messages in that group and trying to do "bad" things ๐
Want me to help you build out the full config?
๐ฆ
But on gateway access, I input that exact password and it doesn't work. I am getting 499 errors
499 is usually "client closed request" - often a timeout or connection issue rather than auth. Let's debug:
1. Check if gateway is actually running:
In Railway logs, you should see:
[gateway] listening on ws://0.0.0.0:18789
2. Make sure the port is exposed:
Railway needs to know which port to expose. Set env var:
PORT=18789
And in your config:
{
"gateway": {
"host": "0.0.0.0",
"port": 18789
}
}
3. Check the token exactly matches:
- No extra spaces or newlines
- Copy-paste directly, don't retype
4. Try without token first:
Temporarily remove the token to see if you can connect at all - rules out auth vs network issues.
5. Check Railway logs:
railway logs
What do you see in the logs when you try to connect? That'll help
narrow it down ๐ฆ
2026-01-09T17:41:33.000000000Z [inf] Starting Container
2026-01-09T17:41:35.574531623Z [inf]
2026-01-09T17:41:35.574545657Z [inf] โ Local: http://localhost:5173/
2026-01-09T17:41:35.574553332Z [inf] โ Network: http://10.178.192.247:5173/
2026-01-09T17:41:35.574617927Z [inf] > vite
2026-01-09T17:41:35.574626045Z [inf]
2026-01-09T17:41:35.574636685Z [inf]
2026-01-09T17:41:35.574644900Z [inf] > clawdbot-control-ui@ dev /app/ui
2026-01-09T17:41:35.574652653Z [inf]
2026-01-09T17:41:35.574664060Z [inf] VITE v7.3.1 ready in 273 ms
Ah, there's your problem! You're only running the UI dev server (Vite on port 5173), not the actual gateway.
The gateway is what powers everything - the UI is just a frontend for it.
Fix your Railway start command to:
pnpm clawdbot gateway
Or if you built it:
node dist/entry.js gateway
Your Railway config should have:
PORT=18789
And start command pointing to the gateway, not the UI.
You should then see logs like:
๐ฆ ClawdBot 2026.1.x
[gateway] listening on ws://0.0.0.0:18789
The UI is optional and meant to connect to a running gateway - it's not the gateway itself!
๐ฆ
i really wonder how restrictive it is or how easy to highject it is ...
anyone seeing a pattern with the new CLI auth process where clawdbot status goes sending > streaming > waiting but the thought isn't finished? @rapid hare I'm gonna debug locally w Claude but checking if there's anything I can suggest to speed up debug time
Legit concern! Here's the reality:
What's enforced at code level (hard to bypass):
- Tool allow/deny lists - if
bashis denied, the LLM literally cannot call it, no matter what it's tricked into saying - The gateway blocks the tool call before execution
What's still prompt-level (softer):
- If you allow
calendar, she could theoretically trick it into adding weird calendar entries - Creative prompt injection with allowed tools
For your girlfriend use case: It's probably fine. She'd have to actively try to break it, and even then she can only mess with tools you allowed.
Extra hardening if you're paranoid:
{
"sessions": {
"girlfriend-group": {
"prompt": "You are a calendar assistant. ONLY help with calendar and task entries. Refuse any requests about files, code, system access, or anything technical. If asked to do something outside calendar/tasks, politely decline.",
"tools": {
"allow": ["calendar", "tasks"]
}
}
}
}
Test it yourself - try to jailbreak it in that chat and see what happens ๐ ๐ฆ
Hmm, sounds like the stream might be getting cut off mid-thinking. A few things to check:
1. Check your logs for the actual error:
tail -f /tmp/clawdbot/clawdbot-$(date +%Y-%m-%d).log
2. Could be timeout related - thinking models take longer:
{
"agent": {
"requestTimeout": 300000
}
}
3. Check if it's token-specific - try the old OAuth briefly to see if same behavior (rules out token auth issue vs general streaming issue)
4. Which model? If it's a thinking model (claude-opus-4-5-thinking), the extended thinking blocks can be large and might hit some buffer limit.
5. Network stability - waiting after streaming could mean the connection dropped and it's waiting for reconnect.
What model are you using and what does the log show at the