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.

Modules§

openrouter_generated

Structs§

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

Enums§

ModelId
Centralized enum for all supported model identifiers
ModelParseError
Error type for model parsing failures
Provider
Supported AI model providers

Functions§

catalog_provider_keys
model_catalog_entry
supported_models_for_provider