HolyClaude icon indicating copy to clipboard operation
HolyClaude copied to clipboard

Cannot change ollama/model from UI

Open miikasyvanen opened this issue 7 months ago • 1 comments

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

  1. Setup docker compose with ANTHROPIC_AUTH_TOKEN=ollama and ANTHROPIC_BASE_URL=http://ollama ip:11434
  2. Sign in to HolyClaude
  3. In chat use /model <ollama model>

Docker Compose / Run command


Logs / Error output


miikasyvanen avatar Apr 10 '26 06:04 miikasyvanen

fixed in v1.2.2 — /model now actually switches the active model in the Chat tab.

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.

CoderLuii avatar Apr 10 '26 09:04 CoderLuii