Expand description
Model configuration and identification module
This module provides a centralized enum for model identifiers and their configurations,
replacing hardcoded model strings throughout the codebase for better maintainability.
Read the model list in docs/models.json.
Structs§
- Model
Catalog Entry - Model
Pricing - Catalog metadata generated from
docs/models.json. - Open
Router Metadata
Enums§
- MiMo
Auth Method - Authentication method for Xiaomi MiMo provider
- ModelId
- Centralized enum for all supported model identifiers
- Model
Parse Error - Error type for model parsing failures
- Provider
- Supported AI model providers
Functions§
- catalog_
provider_ keys - detect_
mimo_ auth_ method - Detect auth method from API key prefix or base URL.
- model_
catalog_ entry - supported_
models_ for_ provider