Editors
gerald serve exposes one local endpoint:
http://127.0.0.1:8080/v1Run it in a terminal and leave it running. A model that coding agents started in the background listens on the same address, but stops when idle, so do not rely on it for an editor.
There is no API key. Leave the key empty, or enter any placeholder if the editor insists.
Slakker
Section titled “Slakker”- Run
gerald serve. - In Slakker choose Local.
- Keep
http://127.0.0.1:8080/v1and leave the key empty. - Select the discovered model.
Other editors
Section titled “Other editors”Gerald serves completion models, not chat. An editor or plugin works if it can
send fill-in-the-middle requests to an OpenAI-style POST /v1/completions
with prompt and suffix:
| Setting | Value |
|---|---|
| Base URL | http://127.0.0.1:8080/v1 |
| Model | The id from GET /v1/models, such as gerald/ruby:0.2.0 |
| API key | None |
Things that commonly trip integrations:
modelmust be exactly the served id.- Parameters Gerald does not know are rejected, not ignored. The accepted set is in the HTTP API.
- Chat requests (
/v1/chat/completions) are refused. - A second request while one is running gets HTTP 429; retry it.
A VS Code extension is planned.