Skip to main content

list_models

Function list_models 

Source
pub async fn list_models(opts: &LlmOpts) -> Result<Vec<String>, String>
Expand description

List models via GET {base_url}/models using the same client config as streaming. Ids are sorted for stable display. The endpoint only returns id/name metadata — no capability flags — so effort support stays user-managed.