LM Studio
LM Studio is a desktop app for running local models that exposes an OpenAI-compatible server. Junie CLI can connect to it, automatically discover the loaded models, and make them available in the model picker.
Prerequisites
LM Studio installed, with at least one model downloaded.
The local server started (Developer tab → Start Server). By default it listens on
http://localhost:1234.
Connect LM Studio (recommended)
The simplest way to use LM Studio 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 LM Studio.
Confirm or edit the Base URL. The default is
http://localhost:1234.
Junie probes the endpoint and adds every discovered model to the picker.
Select a model
Run /model and pick a discovered LM Studio model from the list. Discovered local models appear after the built-in providers.
Advanced: define a profile manually
If you need full control — extra headers, a per-role fasterModel, or a custom temperature — define a custom model profile instead. For a manual LM Studio profile, use the OpenAI Chat Completions endpoint and set baseUrl to the full path:
For the full profile schema, see Custom LLMs.