Skip to main content

Module models

Module models 

Source
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§

ModelCatalogEntry
ModelPricing
Catalog metadata generated from docs/models.json.
OpenRouterMetadata

Enums§

MiMoAuthMethod
Authentication method for Xiaomi MiMo provider
ModelId
Centralized enum for all supported model identifiers
ModelParseError
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