Ollama
Ollama runs open-weight models locally and exposes an OpenAI-compatible API. Junie CLI can connect to a local Ollama server, automatically discover the models it serves, and make them available in the model picker.
Prerequisites
Ollama installed and running. By default it listens on
http://localhost:11434.At least one model pulled locally, for example:
ollama pull qwen3-coder:latest
Connect Ollama (recommended)
The simplest way to use Ollama is to point Junie at the server and let it discover the available models — no JSON profile required.
In an active Junie session, run the
/accountcommand (or select Use external LLM providers on the welcome screen).Open Custom models and endpoints.
Select Ollama.
Confirm or edit the Base URL. The default is
http://localhost:11434.
Junie probes the endpoint and adds every discovered model to the picker.
Select a model
Run /model and pick a discovered Ollama model from the list. Discovered local models appear after the built-in providers.
Advanced: define a profile manually
If you need full control — a non-default API type, extra headers, a per-role fasterModel, or a custom temperature — define a custom model profile instead. For a manual Ollama profile, use the OpenAI Chat Completions endpoint and set baseUrl to the full path:
For the full profile schema, see Custom LLMs.