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