Module exposing: infer_provider, get_factory, get_models_manager, infer_provider_from_model, create_provider_for_model, create_provider_with_config, register_custom_providers, LLMFactory
// Source: https://github.com/diegosouzapw/VTCode | License: Apache-2.0 | Copyright 2025 Vinh Nguyen
// Provided via justclaw.it.com; keep this notice with the code.
use super::cgp::{CanBuildProvider, CanDescribeProvider, register_builtin_cgp_providers};
use super::model_resolver::{ModelResolver, heuristic_provider_from_model};
use super::provider::{LLMError, LLMProvider};
use hashbrown::HashMap;
use vtcode_commons::ctx_err;
use vtcode_config::core::{ModelConfig, PromptCachingConfig};
use vtcode_config::models::Provider;
use vtcode_llm::providers::openai::CustomProviderAuthHandle;
// ProviderConfig is the canonical factory config imported from vtcode-llm.
// The struct was consolidated here to eliminate the duplicate definition.
pub use vtcode_llm::provider_config_types::ProviderConfig;
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key