Skip to main content

vtcode_config/constants/models/
mod.rs

1pub mod anthropic;
2pub mod copilot;
3pub mod deepseek;
4pub mod google;
5pub mod huggingface;
6pub mod litellm;
7pub mod lmstudio;
8pub mod minimax;
9pub mod moonshot;
10pub mod ollama;
11pub mod openai;
12pub mod openresponses;
13pub mod openrouter;
14pub mod zai;
15
16// Backwards compatibility - keep old constants working
17pub const GEMINI_3_1_PRO_PREVIEW: &str = google::GEMINI_3_1_PRO_PREVIEW;
18pub const GEMINI_3_1_PRO_PREVIEW_CUSTOMTOOLS: &str = google::GEMINI_3_1_PRO_PREVIEW_CUSTOMTOOLS;
19pub const GEMINI_3_1_FLASH_LITE_PREVIEW: &str = google::GEMINI_3_1_FLASH_LITE_PREVIEW;
20pub const GEMINI_3_FLASH_PREVIEW: &str = google::GEMINI_3_FLASH_PREVIEW;
21pub const GPT: &str = openai::GPT;
22pub const GPT_5: &str = openai::GPT_5;
23pub const GPT_5_2: &str = openai::GPT_5_2;
24pub const GPT_5_4: &str = openai::GPT_5_4;
25pub const GPT_5_4_PRO: &str = openai::GPT_5_4_PRO;
26pub const GPT_5_3_CODEX: &str = openai::GPT_5_3_CODEX;
27pub const GPT_5_2_CODEX: &str = openai::GPT_5_2_CODEX;
28pub const GPT_5_1_CODEX: &str = openai::GPT_5_1_CODEX;
29pub const GPT_5_1_CODEX_MAX: &str = openai::GPT_5_1_CODEX_MAX;
30pub const GPT_5_CODEX: &str = openai::GPT_5_CODEX;
31pub const GPT_5_MINI: &str = openai::GPT_5_MINI;
32pub const GPT_5_NANO: &str = openai::GPT_5_NANO;
33pub const O3: &str = openai::O3;
34pub const O4_MINI: &str = openai::O4_MINI;
35pub const GPT_OSS_20B: &str = openai::GPT_OSS_20B;
36pub const GPT_OSS_120B: &str = openai::GPT_OSS_120B;
37pub const CLAUDE_SONNET_4_6: &str = anthropic::CLAUDE_SONNET_4_6;
38pub const CLAUDE_OPUS_4_6: &str = anthropic::CLAUDE_OPUS_4_6;
39pub const CLAUDE_HAIKU_4_5: &str = anthropic::CLAUDE_HAIKU_4_5;
40pub const CLAUDE_HAIKU_4_5_20251001: &str = anthropic::CLAUDE_HAIKU_4_5_20251001;
41pub const COPILOT: &str = copilot::DEFAULT_MODEL;
42pub const MINIMAX_M2_7: &str = minimax::MINIMAX_M2_7;
43pub const MINIMAX_M2_5: &str = minimax::MINIMAX_M2_5;
44pub const GLM_5: &str = zai::GLM_5;
45pub const DEEPSEEK_CHAT: &str = deepseek::DEEPSEEK_CHAT;
46pub const DEEPSEEK_REASONER: &str = deepseek::DEEPSEEK_REASONER;
47#[cfg(not(docsrs))]
48pub const OPENROUTER_QWEN3_CODER: &str = openrouter::QWEN3_CODER;
49#[cfg(docsrs)]
50pub const OPENROUTER_QWEN3_CODER: &str = "qwen/qwen3-coder";