vtcode_config/constants/models/
openai.rs1pub const DEFAULT_MODEL: &str = "gpt-5.4";
2pub const SUPPORTED_MODELS: &[&str] = &[
3 "gpt-5.4",
4 "gpt-5.4-pro",
5 "gpt-5.3-codex", "gpt-5.2-codex", "gpt-5.1-codex", "gpt-5.1-codex-max", "gpt-5-codex", "gpt-5.2",
11 "gpt-5",
12 "gpt-5-mini",
13 "gpt-5-nano",
14 "o3",
15 "o4-mini",
16 "gpt-oss-20b",
17 "gpt-oss-120b",
18];
19
20pub const RESPONSES_API_MODELS: &[&str] = &[
22 GPT_5,
23 GPT_5_2,
24 GPT_5_4,
25 GPT_5_4_PRO,
26 GPT_5_3_CODEX,
27 GPT_5_2_CODEX,
28 GPT_5_1_CODEX,
29 GPT_5_1_CODEX_MAX,
30 GPT_5_CODEX,
31 GPT_5_MINI,
32 GPT_5_NANO,
33 O3,
34 O4_MINI,
35];
36
37pub const REASONING_MODELS: &[&str] = &[
39 GPT_5,
40 GPT_5_2,
41 GPT_5_4,
42 GPT_5_4_PRO,
43 GPT_5_3_CODEX,
44 GPT_5_2_CODEX,
45 GPT_5_1_CODEX,
46 GPT_5_1_CODEX_MAX,
47 GPT_5_CODEX,
48 GPT_5_MINI,
49 GPT_5_NANO,
50 O3,
51 O4_MINI,
52];
53
54pub const SERVICE_TIER_MODELS: &[&str] = RESPONSES_API_MODELS;
56
57pub const TOOL_UNAVAILABLE_MODELS: &[&str] = &[];
59
60pub const HARMONY_MODELS: &[&str] = &[GPT_OSS_20B, GPT_OSS_120B];
62
63pub const GPT: &str = "gpt";
65pub const GPT_5: &str = "gpt-5";
66pub const GPT_5_2: &str = "gpt-5.2";
67pub const GPT_5_4: &str = "gpt-5.4";
68pub const GPT_5_4_PRO: &str = "gpt-5.4-pro";
69pub const GPT_5_3_CODEX: &str = "gpt-5.3-codex"; pub const GPT_5_2_CODEX: &str = "gpt-5.2-codex"; pub const GPT_5_1_CODEX: &str = "gpt-5.1-codex"; pub const GPT_5_1_CODEX_MAX: &str = "gpt-5.1-codex-max"; pub const GPT_5_CODEX: &str = "gpt-5-codex"; pub const GPT_5_MINI: &str = "gpt-5-mini";
75pub const GPT_5_NANO: &str = "gpt-5-nano";
76pub const O3: &str = "o3";
77pub const O4_MINI: &str = "o4-mini";
78pub const GPT_OSS_20B: &str = "gpt-oss-20b";
79pub const GPT_OSS_120B: &str = "gpt-oss-120b";