Expand description
Per-family catalog source table.
Reaches the model catalog for any provider family without constructing
a live ModelProvider (which would require typed runtime context like
Azure’s resource/deployment or Bedrock’s region). Used by the
gateway’s /api/onboard/catalog/models endpoint and the TUI’s
onboard flow when the operator hasn’t supplied a credential yet.
Each family maps to a tuple (models_dev_key, openrouter_vendor_prefix);
list_models_for_family walks them in that order, returning the first
non-empty list.
Functions§
- catalog_
source_ for (models.dev key, openrouter.ai vendor prefix)for a family name. Either or both can beNonefor families with no public catalog (local-only servers, credential-required APIs without a public/modelsindex).- list_
models_ for_ family - Probe the catalog for
familywithout constructing a live provider. Returns the union of every known public catalog source. Errors iffamilyis unknown or has no public catalog source set.