Cannot change ollama/model from UI
Image Variant
Full (latest / dev)
Image Tag / Version
latest
Host OS
Linux
What happened?
When using HolyClaude I cannot change model to local Ollama model from UI. Using /model <ollama model> in Claude cli shell loads and uses selected Ollama model, but when issued it from UI, nothing happens. It just prompts current and available cloud models and is still using some local model, that I have selected for Sonnet in environment variable. If I change model in Claude cli shell, it won't change in UI.
Ollama is working with Claude cli in HolyClaude and standalone
Ollama is working with other frontends
If I set ANTHROPIC_DEFAULT_SONNET_MODEL=<ollama model> in compose as environment variable it will use that model locally
What did you expect?
/model <ollama model> should change and use ollama model locally
Steps to reproduce
- Setup docker compose with ANTHROPIC_AUTH_TOKEN=ollama and ANTHROPIC_BASE_URL=http://ollama ip:11434
- Sign in to HolyClaude
- In chat use
/model <ollama model>
Docker Compose / Run command
Logs / Error output
fixed in v1.2.2 — /model
root cause was 3 layers deep: the server wasn't returning the requested model name, the frontend handler wasn't acting on it, and the setter for the model state never reached the component that handles /model. patched all 3 at build time.
the model now persists to localStorage, survives page reload, and the dropdown updates to show the custom model name.
thanks @miikasyvanen for the report.