LM Studio Setup (Custom / Local)
Use this guide when you want Genie to talk to a local model server or any OpenAI-compatible gateway instead of a hosted provider account.
What this setup assumes
Section titled “What this setup assumes”Genie does not run the model itself. You need a server that already exposes an OpenAI-compatible API.
Typical options:
- LM Studio with its local server enabled
- a self-hosted gateway
- another compatible local or remote endpoint
Where to configure it
Section titled “Where to configure it”Open Settings and look at the provider settings for:
- Coding for CODE generation
- Logistics for ASK coordination, preflight, QUERY, and DATA work
You can point both roles at the same endpoint or split them across different models.
Required fields
Section titled “Required fields”When you choose Custom / Local, Genie exposes these fields for each role:
- Custom model id
- Endpoint (OpenAI-compatible)
- API key if your server requires one
- Test Connection
Example endpoint shape:
http://127.0.0.1:1234/v1Recommended first configuration
Section titled “Recommended first configuration”- Set Coding Provider to
Custom / Local. - Enter the model ID your local server expects.
- Enter the endpoint base URL.
- Add the API key only if your server requires one.
- Click Test Connection before saving.
- Repeat for Logistics if you want ASK, QUERY, or DATA to use the same local stack.
Common failure patterns
Section titled “Common failure patterns”Test Connection fails
Section titled “Test Connection fails”Check these first:
- the local server is running
- the endpoint includes the correct
/v1base path if your server expects it - the model ID matches a model your server actually exposes
- the API key is present if your gateway enforces one
Genie is activated but requests still fail
Section titled “Genie is activated but requests still fail”Activation and provider credentials are separate.
- Fix activation in Licensing and Activation only when the UI is locked.
- Fix provider configuration in AI Providers or Settings Guide when the UI is available but model calls fail.
One role works and the other does not
Section titled “One role works and the other does not”Check Coding and Logistics separately. Each role can have its own endpoint, model, and key.
Good uses for Custom / Local
Section titled “Good uses for Custom / Local”- keeping model traffic local
- testing alternative coding models
- pointing Genie at an internal gateway
- separating a stronger coding model from a faster planning model