Skip to main content

parse_copilot_catalog_models

Function parse_copilot_catalog_models 

Source
pub fn parse_copilot_catalog_models(
    body: &str,
) -> Result<Vec<CatalogModel>, String>
Expand description

Parse an experimental Copilot /models body into normalized catalog rows.

The returned view includes chat rows with at least one reviewed endpoint. A disabled policy identifies an account opt-in row and does not hide it; otherwise the upstream picker flag remains the utility-row visibility boundary. Callers wanting the raw evidence use parse_copilot_catalog_entries.