Skip to main content

model_picker_items

Function model_picker_items 

Source
pub fn model_picker_items(registry: &ProviderRegistry) -> Vec<SelectItem>
Expand description

Collect SelectItem entries from all registered providers’ model lists.

Each entry’s id is the fully-qualified provider:model spec, display is the model’s display name, and metadata is the provider id.