Skip to main content

fetch_models

Function fetch_models 

Source
pub fn fetch_models() -> Result<Vec<CachedModel>, MarsError>
Expand description

Fetch models from the models.dev API.

Returns a list of cached model entries. On network failure, returns an error (callers should fall back to existing cache or explicit pinned IDs).