Skip to main content

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.

来源信息

仓库
cheaper-inference/OmniRoute
最近来源活动
2026年6月1日 17:30
检测到的 SKILL.md 语言
英语
星标
84,716
Forks
12,745

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
cli-chat
description
Send chat completions, stream responses, and start an interactive REPL session from the CLI. Supports all OmniRoute providers, combo routing, and system prompt configuration.
<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten --> ## 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 ```bash 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:** ```bash omniroute chat [prompt] ``` ### `repl` **Flags:** - `-m, --model <id>` - `--combo <name>` - `-s, --system <prompt>` - `--resume <session>` **Example:** ```bash 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:** ```bash omniroute stream [prompt] ```
在 GitHub 查看