mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-07-26 09:52:11 +03:00
Integrated into release/v3.8.8. Applied review fixes: moved the SELECT 1 into a pingDb() db helper (no raw SQL in route, Hard Rule #5) + the 503 catch no longer leaks err.message (Hard Rule #12). Thanks @herjarsa!
1.3 KiB
1.3 KiB
name, description
| name | description |
|---|---|
| cli-chat | Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration. |
Overview
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
Quick install
npm install -g omniroute # or: npx omniroute
omniroute --version
Subcommands
chat [prompt]
Flags:
--file <path>--stdin-s, --system <prompt>-m, --model <id>--max-tokens <n>--temperature <t>--top-p <p>--reasoning-effort <level>--thinking-budget <tokens>--combo <name>--responses-api--stream--no-history
Example:
omniroute chat [prompt]
repl
Flags:
-m, --model <id>--combo <name>-s, --system <prompt>--resume <session>
Example:
omniroute repl
stream [prompt]
Flags:
--file <path>--stdin-m, --model <id>-s, --system <prompt>--combo <name>--max-tokens <n>--responses-api--raw--debug--save <path>
Example:
omniroute stream [prompt]