Skip to main content

vtcode_core/config/
models.rs

1//! Model configuration and identification module
2//!
3//! This module provides a centralized enum for model identifiers and their configurations,
4//! replacing hardcoded model strings throughout the codebase for better maintainability.
5//! Read the model list in `docs/models.json`.
6
7#[cfg(test)]
8mod tests;
9
10pub use vtcode_config::models::{
11    ModelCatalogEntry, ModelId, ModelParseError, ModelPricing, OpenRouterMetadata, Provider,
12    catalog_provider_keys, model_catalog_entry, supported_models_for_provider,
13};