Skip to main content

PROVIDER_PREFIX

Constant PROVIDER_PREFIX 

Source
pub const PROVIDER_PREFIX: &str = "cli:";
Expand description

Marks a model registry provider as naming the CLI-spawn track.

The gateway track already selects on provider (claude and codex dispatch to loopback clients), so the CLI track uses the same field rather than inventing a second way to say which track an agent is on. The prefix keeps the two readable side by side — claude is the gateway, cli:claude is the spawn — and cannot be confused with a vendor slug, which a -cli suffix would have to be parsed off a name that may itself contain dashes.