Skip to main content

vtcode_config/constants/models/
mod.rs

1pub mod anthropic;
2pub mod deepseek;
3pub mod google;
4pub mod huggingface;
5pub mod lmstudio;
6pub mod minimax;
7pub mod moonshot;
8pub mod ollama;
9pub mod openai;
10pub mod openresponses;
11pub mod openrouter;
12pub mod zai;
13
14// Backwards compatibility - keep old constants working
15pub const GEMINI_3_1_PRO_PREVIEW: &str = google::GEMINI_3_1_PRO_PREVIEW;
16pub const GEMINI_3_1_PRO_PREVIEW_CUSTOMTOOLS: &str = google::GEMINI_3_1_PRO_PREVIEW_CUSTOMTOOLS;
17pub const GEMINI_3_1_FLASH_LITE_PREVIEW: &str = google::GEMINI_3_1_FLASH_LITE_PREVIEW;
18pub const GEMINI_3_FLASH_PREVIEW: &str = google::GEMINI_3_FLASH_PREVIEW;
19pub const GPT_5: &str = openai::GPT_5;
20pub const GPT_5_2: &str = openai::GPT_5_2;
21pub const GPT_5_MINI: &str = openai::GPT_5_MINI;
22pub const GPT_5_NANO: &str = openai::GPT_5_NANO;
23pub const GPT_5_3_CODEX: &str = openai::GPT_5_3_CODEX;
24pub const GPT_OSS_20B: &str = openai::GPT_OSS_20B;
25pub const GPT_OSS_120B: &str = openai::GPT_OSS_120B;
26pub const CLAUDE_SONNET_4_6: &str = anthropic::CLAUDE_SONNET_4_6;
27pub const CLAUDE_OPUS_4_6: &str = anthropic::CLAUDE_OPUS_4_6;
28pub const CLAUDE_HAIKU_4_5: &str = anthropic::CLAUDE_HAIKU_4_5;
29pub const CLAUDE_HAIKU_4_5_20251001: &str = anthropic::CLAUDE_HAIKU_4_5_20251001;
30pub const MINIMAX_M2_5: &str = minimax::MINIMAX_M2_5;
31pub const GLM_5: &str = zai::GLM_5;
32pub const DEEPSEEK_CHAT: &str = deepseek::DEEPSEEK_CHAT;
33pub const DEEPSEEK_REASONER: &str = deepseek::DEEPSEEK_REASONER;
34#[cfg(not(docsrs))]
35pub const OPENROUTER_QWEN3_CODER: &str = openrouter::QWEN3_CODER;
36#[cfg(docsrs)]
37pub const OPENROUTER_QWEN3_CODER: &str = "qwen/qwen3-coder";