cheaper-inference/omniroute

cli-routing

Create, list, update, and delete routing combos from the CLI.

Quelltext ansehen

Verwendung

  1. Installationsbefehl kopieren und das Quellpaket vor der Installation in der eigenen Agentenumgebung prüfen.
  2. Benötigte Werkzeuge, Zugangsdaten und Hosts im Original prüfen.
  3. Eingabe und gewünschtes Ergebnis beschreiben und die Ausgabe mit den Quellen abgleichen.
npx skills add https://github.com/cheaper-inference/omniroute --skill cli-routing

Vor dem Start

  • Die Installation umfasst weder Modellabo noch API-Kontingent oder Dateizugriffsrechte.
  • Sterne und Installationen zeigen Aktivität, keine unabhängige Qualitäts- oder Sicherheitsprüfung.
Originales Skill-Dokument

Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Create, list, update, and delete routing combos from the CLI. Test routing strategies, inspect combo metrics, and configure fallback chains interactively.

Quick install

bash
npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

suggest

Flags:

  • --task <description>
  • --max-cost <usd>
  • --max-latency-ms <ms>
  • --weights <json>
  • --top <n>
  • --explain
  • --switch

Example:

bash
omniroute suggest

combo combo

Example:

bash
omniroute combo combo

combo list

List configured routing combos

Flags:

  • --json

Example:

bash
omniroute combo list

combo switch <name>

Activate a routing combo

Example:

bash
omniroute combo switch <name>

combo create <name>

Create a new routing combo

Flags:

  • --models <spec>
  • --model <spec>

Example:

bash
omniroute combo create <name>

combo delete <name>

Delete a routing combo

Flags:

  • --yes

Example:

bash
omniroute combo delete <name>

Verwandte Aufgaben

aus demselben Repository

Weitere Skills

Alle Skills