Oko/Docs

Command reference

oko model-service show

Which model service Oko asks as itself: Brama by default, the OpenAI-compatible chat-completions service — OpenAI, OpenRouter, a local server — this machine declared, which the judge, the reading, `brama complete` and `oko gateway send --prompt` ask with its declared model, or no model at all, so tasks are judged and Tama's guards answered where Brama is not installed.

Invocation#

Command
oko model-service [show] [--json | --plain]

Inputs and options#

  • No input; show is also what the bare group runs.

Output and state effect#

  • Prints the choice: `provider` (`brama`, `openai-compatible` or `none`), `model` (null with none), `origin`, `declaredIn` and, with none, `judgedBy`; never the key. No model or database call is made. Desktop's Model access → Judge provider section reads the same choice over the resident API.

Refusals and safe exits#

  • `<path> names no complete model service (origin, model and key); declare it again with oko model-service set or remove it with oko model-service clear`; `<path> is not a model service declaration: <cause>`.

CLI reference#