返回 DeepSeek-Reasonix
provider_presets_token_rhythm.go
根目录 / internal / config / provider_presets_token_rhythm.go
1 package config
2
3 var tokenRhythmModels = []string{
4 "deepseek-flash", "deepseek-v4-flash", "deepseek-v4-pro", "glm-5", "glm-5.1",
5 "minimax-m2.7", "kimi-k2.5", "kimi-k2.6", "minimax-m2.5",
6 "mimo-v2.5-pro", "qwen3.7-max", "kimi-k2.7-code", "glm-5.2",
7 "qwen3.8-max", "deepseek-v4-flash-0731",
8 }
9
10 var tokenRhythmVisionModels = []string{"kimi-k2.5", "kimi-k2.6", "kimi-k2.7-code"}
11
12 func tokenRhythmModelOverrides() map[string]ProviderModelOverride {
13 return map[string]ProviderModelOverride{
14 "deepseek-flash": {
15 ReasoningProtocol: ReasoningProtocolDeepSeek,
16 SupportedEfforts: []string{"disabled", "low", "high", "max"},
17 DefaultEffort: "high",
18 },
19 "deepseek-v4-flash": {
20 ReasoningProtocol: ReasoningProtocolDeepSeek,
21 SupportedEfforts: []string{"disabled", "low", "high", "max"},
22 DefaultEffort: "high",
23 },
24 "deepseek-v4-pro": {
25 ReasoningProtocol: ReasoningProtocolDeepSeek,
26 SupportedEfforts: []string{"disabled", "high", "max"},
27 DefaultEffort: "high",
28 },
29 "deepseek-v4-flash-0731": {
30 ReasoningProtocol: ReasoningProtocolDeepSeek,
31 SupportedEfforts: []string{"disabled", "low", "high", "max"},
32 DefaultEffort: "high",
33 },
34 "glm-5": {
35 ReasoningProtocol: ReasoningProtocolGLM,
36 SupportedEfforts: []string{"enabled", "disabled"},
37 DefaultEffort: "enabled",
38 },
39 "glm-5.1": {
40 ReasoningProtocol: ReasoningProtocolGLM,
41 SupportedEfforts: []string{"enabled", "disabled"},
42 DefaultEffort: "enabled",
43 ContextWindow: 200_000,
44 },
45 "glm-5.2": {
46 ReasoningProtocol: ReasoningProtocolGLM,
47 SupportedEfforts: []string{"enabled", "disabled"},
48 DefaultEffort: "enabled",
49 },
50 "minimax-m2.7": {ContextWindow: 200_000},
51 "kimi-k2.5": {ContextWindow: 256_000},
52 "kimi-k2.6": {ContextWindow: 256_000},
53 "minimax-m2.5": {ContextWindow: 200_000},
54 "mimo-v2.5-pro": {ContextWindow: 256_000},
55 "kimi-k2.7-code": {ContextWindow: 256_000},
56 }
57 }
58
58 lines GO