Skip to main content

vtcode_config/models/
mod.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
7mod errors;
8mod mimo_auth;
9mod model_id;
10mod openrouter;
11mod provider;
12
13pub use errors::ModelParseError;
14pub use mimo_auth::{MiMoAuthMethod, detect_mimo_auth_method};
15pub use model_id::{
16    ModelCatalogEntry, ModelId, ModelPricing, catalog_provider_keys, model_catalog_entry, supported_models_for_provider,
17};
18pub use openrouter::OpenRouterMetadata;
19pub use openrouter::openrouter_generated;
20pub use provider::{Provider, ProviderModelSupport};
21
22#[cfg(test)]
23mod tests;