Skip to main content

vtcode_config/constants/models/
zai.rs

1pub const DEFAULT_MODEL: &str = "glm-4.7";
2pub const SUPPORTED_MODELS: &[&str] = &[
3    "glm-4-plus",
4    "glm-4.7",
5    "glm-4.7-flash",
6    "glm-4.6",
7    "glm-4.6v",
8    "glm-4.6v-flash",
9    "glm-4.6v-flashx",
10    "glm-4.5",
11    "glm-4.5-air",
12    "glm-4.5-x",
13    "glm-4.5-airx",
14    "glm-4.5-flash",
15    "glm-4.5v",
16    "glm-4-32b-0414-128k",
17];
18
19pub const REASONING_MODELS: &[&str] = &[
20    "glm-4-plus",
21    "glm-4.7",
22    "glm-4.7-flash",
23    "glm-4.6",
24    "glm-4.5",
25    "glm-4.5-air",
26    "glm-4.5-x",
27    "glm-4.5-airx",
28    "glm-4.5-flash",
29];
30
31pub const GLM_4_PLUS: &str = "glm-4-plus";
32pub const GLM_4_PLUS_DEEP_THINKING: &str = "glm-4-plus:thinking";
33pub const GLM_4_7: &str = "glm-4.7";
34pub const GLM_4_7_DEEP_THINKING: &str = "glm-4.7:thinking";
35pub const GLM_4_7_FLASH: &str = "glm-4.7-flash";
36pub const GLM_4_6: &str = "glm-4.6";
37pub const GLM_4_6_DEEP_THINKING: &str = "glm-4.6:thinking";
38pub const GLM_4_6V: &str = "glm-4.6v";
39pub const GLM_4_6V_FLASH: &str = "glm-4.6v-flash";
40pub const GLM_4_6V_FLASHX: &str = "glm-4.6v-flashx";
41pub const GLM_4_5: &str = "glm-4.5";
42pub const GLM_4_5_DEEP_THINKING: &str = "glm-4.5:thinking";
43pub const GLM_4_5_AIR: &str = "glm-4.5-air";
44pub const GLM_4_5_X: &str = "glm-4.5-x";
45pub const GLM_4_5_AIRX: &str = "glm-4.5-airx";
46pub const GLM_4_5_FLASH: &str = "glm-4.5-flash";
47pub const GLM_4_5V: &str = "glm-4.5v";
48pub const GLM_4_32B_0414_128K: &str = "glm-4-32b-0414-128k";