pub enum MuseModel {
Spark13,
Spark13Contributor,
Spark12,
Spark12Contributor,
Custom(String),
}Expand description
A model id accepted by muse exec --model (Meta provider).
Variants§
Spark13
muse-spark-1.3 (muse-spark-1.3), released 2026-09-02.
Spark13Contributor
muse-spark-1.3 contributor build (muse-spark-1.3-contributor),
released 2026-09-02. The catalog default as of Muse Code 1.0.2.
Spark12
muse-spark-1.2 (muse-spark-1.2), released 2026-08-05.
Spark12Contributor
muse-spark-1.2 contributor build (muse-spark-1.2-contributor),
released 2026-08-05.
Custom(String)
A model id not yet known to this version of the crate. Passed to the CLI verbatim.
Implementations§
Source§impl MuseModel
impl MuseModel
Sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
Human-friendly display name (the catalog’s display_label equals
the id for every current row).
Sourcepub fn context_limit(&self) -> Option<u64>
pub fn context_limit(&self) -> Option<u64>
Context window in tokens, from the provider catalog. None for
Custom ids the catalog hasn’t described.
Sourcepub fn output_limit(&self) -> Option<u64>
pub fn output_limit(&self) -> Option<u64>
Maximum output tokens, from the provider catalog. None for
Custom ids the catalog hasn’t described.
Sourcepub fn catalog_default() -> Self
pub fn catalog_default() -> Self
The catalog-default model as of Muse Code 1.0.2 — what a run
resolves to when --model is omitted.