Description
The agent automatically appends the anthropic/ prefix to models even when configured to use a local Ollama instance. This leads to a connection failure because Ollama does not recognize the prefixed model name.
Steps to Reproduce
- Set up Ollama with
qwen2.5-coder:7b.
- Configure
clawdbot.json with primary: "qwen2.5-coder:7b".
- Run
moltbot gateway.
- Observe the logs.
Observed Logs
[clawdbot] Model "qwen2.5-coder:7b" specified without provider. Falling back to "anthropic/qwen2.5-coder:7b".
[diagnostic] lane task error: error="Error: Unknown model: anthropic/qwen2.5-coder:7b"
Expected Behavior
The agent should respect the baseUrl and not force a provider prefix if it's already defined or if a local provider is intended.
Environment
- Version: 2026.1.24-3
- OS: Windows
- LLM: Ollama (Local)
Description
The agent automatically appends the
anthropic/prefix to models even when configured to use a local Ollama instance. This leads to a connection failure because Ollama does not recognize the prefixed model name.Steps to Reproduce
qwen2.5-coder:7b.clawdbot.jsonwithprimary: "qwen2.5-coder:7b".moltbot gateway.Observed Logs
[clawdbot] Model "qwen2.5-coder:7b" specified without provider. Falling back to "anthropic/qwen2.5-coder:7b".[diagnostic] lane task error: error="Error: Unknown model: anthropic/qwen2.5-coder:7b"Expected Behavior
The agent should respect the
baseUrland not force a provider prefix if it's already defined or if a local provider is intended.Environment