Skip to content

Editors

gerald serve exposes one local endpoint:

http://127.0.0.1:8080/v1

Run 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.

  1. Run gerald serve.
  2. In Slakker choose Local.
  3. Keep http://127.0.0.1:8080/v1 and leave the key empty.
  4. Select the discovered model.

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:

  • model must 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.