Skip to main content

Module alias

Module alias 

Source
Expand description

A [models.<alias>] table of mars.toml: how an alias names a model, and the pure resolution of it over models.dev rows.

Two kinds: a pinned alias names a model id (with optional match/exclude filters that widen what it accepts), an auto alias selects from the catalog by match, exclude and provider. Resolution is models::auto_resolve_all, so the CLI’s snapshot and a host’s rows choose the same id.

Structs§

ModelAlias

Enums§

ModelSpec