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
آخر نشاط في المصدر
٥ نوفمبر ٢٠٢٦ في ٢٠:٢١
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٨٥٬٧٩١
التفرعات
١٢٬٩٩٩

خيارات التثبيت

يُحدَّد 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