Oko/Docs

Command reference

oko proxy translate

Translates one provider-shaped request body into the chat-completions body the proxy would relay, so a translation can be read without a listener.

Invocation#

Command
oko proxy translate --body JSON

Inputs and options#

  • --body is required.

Output and state effect#

  • Prints the translated body.

Refusals and safe exits#

  • `oko proxy translate requires --body <text>` (exit 2); `translation failed: <error>`; `oko proxy takes serve, sign or translate; got <verb>` (exit 2).

CLI reference#