#Looks like a model name typo!

1 messages ยท Page 1 of 1 (latest)

open path
#

What fille would I set this up in?

spring havenBOT
#

Two options:

1. Config file: ~/.clawdbot/clawdbot.json

"defaultModel": "anthropic/claude-sonnet-4"

2. Runtime command: Just type /model anthropic/claude-sonnet-4 in your chat

The /model command is easier for testing - config file is for your default ๐Ÿฆž

open path
#

I see this

Model Input Ctx Local Auth Tags
anthropic/claude-sonnet-4 - - - - default,configured,missing
anthropic/claude-sonnet-4-5 text+image 195k no yes configured,alias:sonnet

spring havenBOT
#

There's your answer!

  • anthropic/claude-sonnet-4 โ†’ shows missing (no auth configured)
  • anthropic/claude-sonnet-4-5 โ†’ โœ… working, has alias sonnet

Use either:

  • anthropic/claude-sonnet-4-5
  • Or just sonnet (the alias)

The model you tried (sonnet-4-1) doesn't exist - you want sonnet-4-5 (Sonnet 4.5) ๐Ÿฆž

open path
#

Did it but when I message in Telegram I still get

"โš ๏ธ Agent failed before reply: Unknown model: anthropic/claude-sonnet-4-1. Check gateway logs for details."

spring havenBOT
#

The old model is cached somewhere! Check these:

1. Agent config: ~/.clawdbot/agents/main/agent.json - look for model references

2. Telegram session config: might have the old model saved per-chat

3. Restart gateway: The change might need a restart to take effect

clawdbot restart
# or from the companion app

4. Clear session: Try /clear in Telegram to reset the chat state

The sonnet-4-1 string is still lurking somewhere in your config ๐Ÿฆž๐Ÿ”

open path
#

That worked, thank you!