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 MiMoAuthMethod, ModelCatalogEntry, ModelId, ModelParseError, ModelPricing, OpenRouterMetadata,
12 Provider, catalog_provider_keys, detect_mimo_auth_method, model_catalog_entry,
13 supported_models_for_provider,
14};