Skip to main content

Module model_catalog

Module model_catalog 

Source
Expand description

mz6/mz14 subscription model catalog, as Cloud serves it (leanctx.cloud.model-catalog/v1; source of truth: leanctx-cloud crates/cloud-wire/src/models.rs). Every model names the origin of its weights and each host (provider, country); direct lists vendors’ own APIs, which are never part of the subscription and are opt-in only.

The engine bundles a baseline copy (rust/data/model_catalog.json, generated by scripts/sync-model-catalog.py) for offline labels and to recognise a vendor-direct host. The types are deny_unknown_fields, like cloud-wire’s, so the two ship in lockstep.

Re-exports§

pub use super::effective_policy::is_country;

Structs§

CatalogHost
CatalogModel
DirectVendor
ModelCatalog

Enums§

ModelStatus

Constants§

CATALOG_SCHEMA
schema of the catalog document.
MODEL_ID_PREFIX
Prefix of every subscription model id.