CLI Commands
Use vllm-sr to configure and run the router, manage recipes, send requests, and evaluate routing. See Installation to install the CLI and Local Docker deployment to start a router.
This reference is generated from the registered CLI commands. Command descriptions, arguments, options, and declared defaults match the source. An option without a declared default is omitted until supplied; commands may resolve it from configuration or the environment as described in their help. Repeatable options collect values. Run vllm-sr COMMAND --help for help from your installed version.
Command index
| Command | Description |
|---|---|
vllm-sr | vLLM Semantic Router CLI - Signal-driven routing across LLM providers, with a built-in model runtime. |
vllm-sr benchmark | Prepare, run, inspect, and compare sr-bench 1.0 evaluations. |
vllm-sr benchmark cancel | Cancel remaining work while retaining all existing evidence. |
vllm-sr benchmark candidate-plan | Reuse a terminal baseline's frozen protocol without repeating its requests. |
vllm-sr benchmark catalog | Show the nine benchmark adapters and evaluation profiles. |
vllm-sr benchmark compare | Compare matched cases against the best observed single model. |
vllm-sr benchmark comparison-options | List eligible baselines, or comparable live runs for BASELINE; no model calls. |
vllm-sr benchmark dataset | Prepare reproducible fixed benchmark case sets. |
vllm-sr benchmark dataset combine | Create a reusable multi-benchmark dataset from prepared manifests. |
vllm-sr benchmark dataset exclusions | Freeze finite named history without inspecting outcomes or running models. |
vllm-sr benchmark dataset options | List downloadable sources, profiles, access notes, and dependencies. |
vllm-sr benchmark dataset preparations | List shared download jobs or inspect one preparation by ID. |
vllm-sr benchmark dataset prepare | Download and freeze a dataset through the shared service by default. |
vllm-sr benchmark dataset show | Inspect a frozen dataset or list datasets in the shared store. |
vllm-sr benchmark experiment | Group durable baseline, routing checks, candidates and validation runs. |
vllm-sr benchmark experiment attach | Link existing evidence without changing or rerunning it. |
vllm-sr benchmark experiment create | Create an experiment without submitting model work. |
vllm-sr benchmark experiment delete | Delete a finished experiment's grouping and links; keep every run and result. |
vllm-sr benchmark experiment list | Read one page of experiments. |
vllm-sr benchmark experiment show | Read the experiment and one page of its linked runs. |
vllm-sr benchmark export | Export a dev response matrix for training; holdout export is rejected. |
vllm-sr benchmark plan | Validate and freeze all cases, targets, profiles, and limits without inference. |
vllm-sr benchmark preview | Inspect routing decisions without producing quality scores. |
vllm-sr benchmark reconcile-usage | Append an offline accounting correction from saved streams; no inference. |
vllm-sr benchmark recover | Create a separate attempt from a reviewed recovery plan; never auto-retry. |
vllm-sr benchmark recover-plan | Inspect eligible continuation cells without making model requests. |
vllm-sr benchmark regrade | Regrade saved MCQ/grid final outputs without mutating original evidence. |
vllm-sr benchmark replay | Estimate eligible static routes from saved answers without inference. |
vllm-sr benchmark replay-options | List eligible baselines, or compatible previews for BASELINE; no model calls. |
vllm-sr benchmark report | Show quality, four-bucket usage, cost, latency, time, and limitations. |
vllm-sr benchmark run | Execute one frozen live evaluation through the shared service. |
vllm-sr benchmark runs | |
vllm-sr benchmark serve | Own the durable journal and workers independently of a browser. |
vllm-sr benchmark setup | Inspect prerequisites or explicitly install optional benchmark harnesses. |
vllm-sr benchmark show | Read a run, bounded evidence page, or one complete saved call. |
vllm-sr benchmark target | Manage the operator-owned target registry used by the Dashboard. |
vllm-sr benchmark target list | |
vllm-sr benchmark target register | Replace the local registry from a JSON list of credential references. |
vllm-sr completion | Generate or install shell completion for vllm-sr. |
vllm-sr completion install | Install shell completions into your shell configuration. |
vllm-sr completion show | Print the completion script for a shell. |
vllm-sr config | Print generated configuration or run config subcommands. |
vllm-sr config apply | Plan, compare-and-swap, persist, and hot-reload a configuration. |
vllm-sr config envoy | Print the generated Envoy configuration. |
vllm-sr config get | Read the active canonical configuration from a Router. |
vllm-sr config init | Create a minimal canonical configuration template. |
vllm-sr config migrate | Migrate a legacy or mixed config file to canonical v0.3 YAML. |
vllm-sr config plan | Validate and plan an exact remote mutation without changing the Router. |
vllm-sr config propose | Print a reviewable config proposal. This command does not apply it. |
vllm-sr config rollback | Compare-and-swap the active configuration to a recorded version. |
vllm-sr config router | Print the canonical router configuration. |
vllm-sr config schema | Discover the canonical config contract progressively. |
vllm-sr config validate | Validate configuration file. |
vllm-sr config versions | List the configuration history, newest first. |
vllm-sr dashboard | Open the dashboard in your default web browser. |
vllm-sr instance | Inspect the serving state of an existing local instance. |
vllm-sr instance models | Print actual native model cards for readiness checks, without inference. |
vllm-sr instance status | Print desired/observed mode and durable operation state. |
vllm-sr logs | Show logs from vLLM Semantic Router service. |
vllm-sr optimize | Analyze routing evidence and produce candidate recipe changes. |
vllm-sr optimize recipe-learning | Analyze replay and outcomes to produce recipe-learning artifacts. |
vllm-sr recipe | Validate, plan, apply, inspect, or package routing recipes. |
vllm-sr recipe apply | Validate then compare-and-swap one recipe into the active config. |
vllm-sr recipe builtin | Discover, export, or bind installed Recipes without a running Router. |
vllm-sr recipe builtin export | Export an exact five-file BUNDLE to a new directory. |
vllm-sr recipe builtin init | Bind one installed recipe to explicit models and validate the new config. |
vllm-sr recipe builtin list | List installed bundles, recipe names, and required candidate pools as JSON. |
vllm-sr recipe delete | Compare-and-swap deletion of an unreferenced named recipe. |
vllm-sr recipe get | Read one managed recipe. |
vllm-sr recipe list | List recipes and the collection ETag. |
vllm-sr recipe pack | Create a deterministic ZIP from an exact five-file RECIPE_DIR. |
vllm-sr recipe plan | Validate a recipe and bind the plan to the current config ETag. |
vllm-sr recipe validate | Validate a recipe against the running Router without changing config. |
vllm-sr request | Send requests through the stack's listener. |
vllm-sr request chat | Send a one-shot chat completion through the Envoy-routed HTTP API. |
vllm-sr route | Preview routing decisions or probe the routed inference path. |
vllm-sr route preview | Preview signals and model selection without generating an answer. |
vllm-sr route probe | Probe a real route and assert complete assistant delivery for expected 2xx. |
vllm-sr serve | Start vLLM Semantic Router. |
vllm-sr status | Show status of vLLM Semantic Router services. |
vllm-sr stop | Stop vLLM Semantic Router. |
vllm-sr storage | Inspect Router storage or manage local storage credentials. |
vllm-sr storage rotate | Replace this stack's storage credentials with freshly generated ones. |
vllm-sr storage vector-stores | List vector stores known to the Router management API. |
vllm-sr
Usage: vllm-sr [OPTIONS] [COMMAND] [ARGS]...
vLLM Semantic Router CLI - Signal-driven routing across LLM providers, with a built-in model runtime.
| Parameter | Description |
|---|---|
--version | Show version and exit. Default: false. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark
Usage: vllm-sr benchmark [OPTIONS] COMMAND [ARGS]...
Prepare, run, inspect, and compare sr-bench 1.0 evaluations.
| Parameter | Description |
|---|---|
--url TEXT | Shared sr-bench service URL; discovers the current local stack by default. Environment: SR_BENCH_URL. |
--store PATH | Durable service store; discovers the current local stack by default. Environment: SR_BENCH_STORE. |
--no-autostart | Require an already running service. Default: false. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark cancel
Usage: vllm-sr benchmark cancel [OPTIONS] RUN_ID
Cancel remaining work while retaining all existing evidence.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark candidate-plan
Usage: vllm-sr benchmark candidate-plan [OPTIONS] BASELINE_RUN_ID
Reuse a terminal baseline's frozen protocol without repeating its requests.
Failed, cancelled and interrupted full-plan baselines may supply the same questions and settings. This does not qualify their measurements for Compare.
| Parameter | Description |
|---|---|
BASELINE_RUN_ID | Required argument. Type: text. |
--target TEXT | Registered MoM target; may be repeated. [required] May be repeated. |
--mode CHOICE | [default: live] Choices: live, preview. |
--name TEXT | — |
--experiment TEXT | — |
--hypothesis TEXT | Default: . |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark catalog
Usage: vllm-sr benchmark catalog [OPTIONS]
Show the nine benchmark adapters and evaluation profiles.
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark compare
Usage: vllm-sr benchmark compare [OPTIONS] BASELINE_RUN_ID CANDIDATE_RUN_ID
Compare matched cases against the best observed single model.
| Parameter | Description |
|---|---|
BASELINE_RUN_ID | Required argument. Type: text. |
CANDIDATE_RUN_ID | Required argument. Type: text. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark comparison-options
Usage: vllm-sr benchmark comparison-options [OPTIONS] [BASELINE]
List eligible baselines, or comparable live runs for BASELINE; no model calls.
| Parameter | Description |
|---|---|
[BASELINE] | Optional argument. Type: text. |
--after TEXT | Opaque cursor from the previous eligible options page. |
--limit INTEGER RANGE | [default: 10; 1<=x<=25] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset
Usage: vllm-sr benchmark dataset [OPTIONS] COMMAND [ARGS]...
Prepare reproducible fixed benchmark case sets.
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset combine
Usage: vllm-sr benchmark dataset combine [OPTIONS] MANIFESTS...
Create a reusable multi-benchmark dataset from prepared manifests.
| Parameter | Description |
|---|---|
MANIFESTS... | Required argument. Type: path. Accepts multiple values. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset exclusions
Usage: vllm-sr benchmark dataset exclusions [OPTIONS]
Freeze finite named history without inspecting outcomes or running models.
| Parameter | Description |
|---|---|
--dataset TEXT | Named prepared dataset whose entire membership is reserved. May be repeated. |
--run TEXT | Named frozen run whose entire planned membership is reserved. May be repeated. |
--output PATH | [required] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset options
Usage: vllm-sr benchmark dataset options [OPTIONS]
List downloadable sources, profiles, access notes, and dependencies.
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset preparations
Usage: vllm-sr benchmark dataset preparations [OPTIONS] [PREPARATION_ID]
List shared download jobs or inspect one preparation by ID.
| Parameter | Description |
|---|---|
[PREPARATION_ID] | Optional argument. Type: text. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset prepare
Usage: vllm-sr benchmark dataset prepare [OPTIONS]
Download and freeze a dataset through the shared service by default.
| Parameter | Description |
|---|---|
--benchmark TEXT | Benchmark ID; repeat to prepare a shared collection. [required] May be repeated. |
--profile CHOICE | Choices: smoke, quick, standard. Default: quick. |
--source-path PATH | — |
--local | Prepare on this host; required for source files and history options. Default: false. |
--no-wait | Return the shared service preparation job immediately. Default: false. |
--revision TEXT | — |
--seed INTEGER | Default: 20260918. |
--source-partition TEXT | Frozen upstream partition for native task identity; never an evaluation split. |
--exclusion-snapshot PATH | — |
--evaluation-role CHOICE | Explicit family role; retest is never selected automatically. Choices: holdout, retest. |
--limit INTEGER | Custom case cap; cannot be represented as an upstream full benchmark. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark dataset show
Usage: vllm-sr benchmark dataset show [OPTIONS] [PATH]
Inspect a frozen dataset or list datasets in the shared store.
| Parameter | Description |
|---|---|
[PATH] | Optional argument. Type: path. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark experiment
Usage: vllm-sr benchmark experiment [OPTIONS] COMMAND [ARGS]...
Group durable baseline, routing checks, candidates and validation runs.
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark experiment attach
Usage: vllm-sr benchmark experiment attach [OPTIONS] EXPERIMENT_ID
Link existing evidence without changing or rerunning it.
| Parameter | Description |
|---|---|
EXPERIMENT_ID | Required argument. Type: text. |
--run TEXT | [required] |
--role CHOICE | [required] Choices: baseline, candidate, estimate, initial, preview, recovery, smoke, validation. |
--hypothesis TEXT | Default: . |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark experiment create
Usage: vllm-sr benchmark experiment create [OPTIONS] NAME
Create an experiment without submitting model work.
| Parameter | Description |
|---|---|
NAME | Required argument. Type: text. |
--idempotency-key TEXT | — |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark experiment delete
Usage: vllm-sr benchmark experiment delete [OPTIONS] EXPERIMENT_ID
Delete a finished experiment's grouping and links; keep every run and result.
| Parameter | Description |
|---|---|
EXPERIMENT_ID | Required argument. Type: text. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark experiment list
Usage: vllm-sr benchmark experiment list [OPTIONS]
Read one page of experiments.
| Parameter | Description |
|---|---|
--after INTEGER RANGE | [x>=0] Default: 0. |
--limit INTEGER RANGE | [1<=x<=50] Default: 20. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark experiment show
Usage: vllm-sr benchmark experiment show [OPTIONS] EXPERIMENT_ID
Read the experiment and one page of its linked runs.
| Parameter | Description |
|---|---|
EXPERIMENT_ID | Required argument. Type: text. |
--after INTEGER RANGE | [x>=0] Default: 0. |
--limit INTEGER RANGE | [1<=x<=50] Default: 20. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark export
Usage: vllm-sr benchmark export [OPTIONS] RUN_ID
Export a dev response matrix for training; holdout export is rejected.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--output PATH | [required] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark plan
Usage: vllm-sr benchmark plan [OPTIONS]
Validate and freeze all cases, targets, profiles, and limits without inference.
| Parameter | Description |
|---|---|
--manifest PATH | [required] |
--output PATH | — |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark preview
Usage: vllm-sr benchmark preview [OPTIONS]
Inspect routing decisions without producing quality scores.
| Parameter | Description |
|---|---|
--idempotency-key TEXT | Bind repeated submissions to the same frozen plan, without reissuing calls. |
--detach | Return immediately with a durable run ID. Default: false. |
--manifest PATH | [required] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark reconcile-usage
Usage: vllm-sr benchmark reconcile-usage [OPTIONS] RUN_ID
Append an offline accounting correction from saved streams; no inference.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark recover
Usage: vllm-sr benchmark recover [OPTIONS] RUN_ID
Create a separate attempt from a reviewed recovery plan; never auto-retry.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--plan PATH | [required] |
--idempotency-key TEXT | [required] |
--acknowledge-new-attempt | Authorize new paid attempts for the exact reviewed failed cells. Default: false. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark recover-plan
Usage: vllm-sr benchmark recover-plan [OPTIONS] RUN_ID
Inspect eligible continuation cells without making model requests.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--mode CHOICE | Choices: undispatched, failed. Default: undispatched. |
--output PATH | — |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark regrade
Usage: vllm-sr benchmark regrade [OPTIONS] RUN_ID
Regrade saved MCQ/grid final outputs without mutating original evidence.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--output PATH | [required] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark replay
Usage: vllm-sr benchmark replay [OPTIONS]
Estimate eligible static routes from saved answers without inference.
| Parameter | Description |
|---|---|
--baseline TEXT | Completed single-model answer matrix run ID. [required] |
--preview TEXT | Completed deterministic routing preview run ID. [required] |
--idempotency-key TEXT | — |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark replay-options
Usage: vllm-sr benchmark replay-options [OPTIONS] [BASELINE]
List eligible baselines, or compatible previews for BASELINE; no model calls.
| Parameter | Description |
|---|---|
[BASELINE] | Optional argument. Type: text. |
--after TEXT | Opaque cursor from the previous eligible options page. |
--limit INTEGER RANGE | [default: 10; 1<=x<=25] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark report
Usage: vllm-sr benchmark report [OPTIONS] RUN_ID
Show quality, four-bucket usage, cost, latency, time, and limitations.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--output PATH | — |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark run
Usage: vllm-sr benchmark run [OPTIONS]
Execute one frozen live evaluation through the shared service.
| Parameter | Description |
|---|---|
--idempotency-key TEXT | Bind repeated submissions to the same frozen plan, without reissuing calls. |
--detach | Return immediately with a durable run ID. Default: false. |
--manifest PATH | [required] |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark runs
Usage: vllm-sr benchmark runs [OPTIONS]
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark serve
Usage: vllm-sr benchmark serve [OPTIONS]
Own the durable journal and workers independently of a browser.
| Parameter | Description |
|---|---|
--host TEXT | Default: 127.0.0.1. |
--port INTEGER | Default: 8090. |
--store-identity TEXT | Canonical host store path SHA256 for an isolated runtime container. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark setup
Usage: vllm-sr benchmark setup [OPTIONS]
Inspect prerequisites or explicitly install optional benchmark harnesses.
| Parameter | Description |
|---|---|
--benchmark TEXT | Default: all. |
--install | Install pinned optional harnesses and task sources; makes no model requests. Default: false. |
--build-sandbox | Build a local offline grading image and record its content digest. Default: false. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark show
Usage: vllm-sr benchmark show [OPTIONS] RUN_ID
Read a run, bounded evidence page, or one complete saved call.
| Parameter | Description |
|---|---|
RUN_ID | Required argument. Type: text. |
--results | Default: false. |
--calls | Default: false. |
--active | Read only in-progress calls; requires --calls. Default: false. |
--events | Default: false. |
--after INTEGER RANGE | Evidence cursor from the previous page. [x>=0] Default: 0. |
--limit INTEGER RANGE | Calls/results per page. [1<=x<=500] Default: 100. |
--call-id TEXT | Read one full saved call including prompt and final response. |
--help | Show this message and exit. Default: false. |
vllm-sr benchmark target
Usage: vllm-sr benchmark target [OPTIONS] COMMAND [ARGS]...
Manage the operator-owned target registry used by the Dashboard.
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark target list
Usage: vllm-sr benchmark target list [OPTIONS]
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr benchmark target register
Usage: vllm-sr benchmark target register [OPTIONS]
Replace the local registry from a JSON list of credential references.
| Parameter | Description |
|---|---|
--file PATH | [required] |
--help | Show this message and exit. Default: false. |
vllm-sr completion
Usage: vllm-sr completion [OPTIONS] [COMMAND] [ARGS]...
Generate or install shell completion for vllm-sr.
Examples:
vllm-sr completion show bash # Print bash completion script
vllm-sr completion show zsh # Print zsh completion script
vllm-sr completion install # Auto-install for current shell
vllm-sr completion install bash # Install bash completions
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr completion install
Usage: vllm-sr completion install [OPTIONS] [bash|zsh|fish]
Install shell completions into your shell configuration.
Automatically appends the completion setup to your shell's rc file (~/.bashrc, ~/.zshrc) or writes to the fish completions directory. Safe to run multiple times — skips if already configured.
Examples:
vllm-sr completion install # Auto-detect shell
vllm-sr completion install bash # Install for bash
vllm-sr completion install zsh # Install for zsh
vllm-sr completion install fish # Install for fish
| Parameter | Description |
|---|---|
[SHELL] | Optional argument. Type: choice. Choices: bash, zsh, fish. |
--help | Show this message and exit. Default: false. |
vllm-sr completion show
Usage: vllm-sr completion show [OPTIONS] [bash|zsh|fish]
Print the completion script for a shell.
Outputs the completion script to stdout. If SHELL is omitted, the command attempts to detect the current shell automatically.
Examples:
vllm-sr completion show bash
vllm-sr completion show zsh
vllm-sr completion show fish
eval "$(vllm-sr completion show zsh)"
| Parameter | Description |
|---|---|
[SHELL] | Optional argument. Type: choice. Choices: bash, zsh, fish. |
--help | Show this message and exit. Default: false. |
vllm-sr config
Usage: vllm-sr config [OPTIONS] [COMMAND] [ARGS]...
Print generated configuration or run config subcommands.
Examples:
vllm-sr config init --output config.yaml
vllm-sr config validate --config config.yaml
vllm-sr config apply --config config.yaml
vllm-sr config router
vllm-sr config migrate --config old.yaml
vllm-sr config envoy # with --gateway extproc
| Parameter | Description |
|---|---|
--help | Show this message and exit. Default: false. |
vllm-sr config apply
Usage: vllm-sr config apply [OPTIONS]
Plan, compare-and-swap, persist, and hot-reload a configuration.
A change the running Router can't take without a restart is saved for the
next vllm-sr serve of a local stack, as the Dashboard saves one.
| Parameter | Description |
|---|---|
--config FILE | [default: config.yaml] |
--mode CHOICE | [default: replace] Choices: replace, merge. |
--endpoint TEXT | Router management base URL; defaults to the local Router API port. |
--timeout FLOAT | [default: 120] |
--token-env TEXT | Environment variable containing the Router management bearer token. [default: VSR_MGMT_TOKEN] |
--help | Show this message and exit. Default: false. |
vllm-sr config envoy
Usage: vllm-sr config envoy [OPTIONS]
Print the generated Envoy configuration.
| Parameter | Description |
|---|---|
--config TEXT | Path to config file (default: config.yaml) Default: config.yaml. |
--help | Show this message and exit. Default: false. |
vllm-sr config get
Usage: vllm-sr config get [OPTIONS]
Read the active canonical configuration from a Router.
| Parameter | Description |
|---|---|
--format CHOICE | [default: yaml] Choices: json, yaml. |
--endpoint TEXT | Router management base URL; defaults to the local Router API port. |
--timeout FLOAT | [default: 15] |
--token-env TEXT | Environment variable containing the Router management bearer token. [default: VSR_MGMT_TOKEN] |
--help | Show this message and exit. Default: false. |
vllm-sr config init
Usage: vllm-sr config init [OPTIONS]
Create a minimal canonical configuration template.
| Parameter | Description |
|---|---|
--output TEXT | Path for the new canonical configuration template. [default: config.yaml] |
--force | Overwrite the output file if it already exists. Default: false. |
--help | Show this message and exit. Default: false. |
vllm-sr config migrate
Usage: vllm-sr config migrate [OPTIONS]
Migrate a legacy or mixed config file to canonical v0.3 YAML.
| Parameter | Description |
|---|---|
--config TEXT | Path to source config file (default: config.yaml) Default: config.yaml. |
--output TEXT | Path for migrated canonical config (default: <config>.migrated.yaml) |
--force | Overwrite the output file if it already exists. Default: false. |
--help | Show this message and exit. Default: false. |
vllm-sr config plan
Usage: vllm-sr config plan [OPTIONS]
Validate and plan an exact remote mutation without changing the Router.
| Parameter | Description |
|---|---|
--config FILE | [default: config.yaml] |
--mode CHOICE | [default: replace] Choices: replace, merge. |
--endpoint TEXT | Router management base URL; defaults to the local Router API port. |
--timeout FLOAT | [default: 15] |
--token-env TEXT | Environment variable containing the Router management bearer token. [default: VSR_MGMT_TOKEN] |
--help | Show this message and exit. Default: false. |