Skip to content

v0.4.0: Ollama local decision models and OpenAI's Decisions API, both opt-in

Choose a tag to compare

@github-actions github-actions released this 03 Oct 16:21
· 12 commits to main since this release

Two new hosts, both opt-in, next to Jev on TypeSafe, OpenRouter, and Vercel AI Gateway.

Ollama, local and keyless. Ollama 0.35 and later serves decision models behind the very same API, so nothing leaves your machine:

ollama pull nimble
export JEV_CODE_PROVIDER=ollama
npx -y @french-castle/jev-code@latest doctor --live

OLLAMA_HOST points at another server; tev1, clef, and clef-flash work via TYPESAFE_DEFAULT_MODEL. Doctor says when the server is down or the model is not pulled.

OpenAI Decisions API, limited preview. Set JEV_CODE_PROVIDER=openai next to your OPENAI_API_KEY, or paste an OpenAI key when setup asks and it stores both. An ambient OPENAI_API_KEY is never adopted on its own, because that variable sits in most shells for unrelated reasons; doctor tells you it is there and how to opt in. Accounts outside the preview get 403 Decision API is not enabled for this user, which doctor --live reports in plain words. The request mapping follows traffic recorded by preview users and OpenAI's own client in the Codex repository, since OpenAI has published no reference yet; it is verified end to end against a stand-in with that shape, through the CLI and a real harness over MCP. A live decision from a preview account is the one thing still unconfirmed, and a report from anyone with access is welcome.

npx -y @french-castle/jev-code@latest setup

Added

  • Ollama's decision capability (Ollama 0.35+) as a local, keyless host: JEV_CODE_PROVIDER=ollama
    after ollama pull nimble; OLLAMA_HOST names another server, OLLAMA_API_KEY is sent only
    when set. Same System One API, so nothing else changes. doctor --live says when the server is
    down or the model is not pulled.

  • JevClient works without a key for local hosts; no Authorization header is sent then.

  • OpenAI's Decisions API (limited preview) as an opt-in host: OPENAI_API_KEY plus
    JEV_CODE_PROVIDER=openai, model gpt-6-luna. Every tool works unchanged; the request and
    response shapes are translated (src/core/wires.ts), following traffic recorded by preview
    users and OpenAI's own client in the Codex repository. An ambient OPENAI_API_KEY is never
    adopted by itself; doctor and the missing-key error explain how to opt in, and doctor --live
    recognises the preview's 403 Decision API is not enabled for this user.

  • Pasting an OpenAI key when setup asks stores JEV_CODE_PROVIDER=openai alongside it.

Full details: CHANGELOG.md. Previous release: v0.3.0.