@@ -25,19 +25,24 @@ func enableFlag(v interface{}) bool {
2525}
2626
2727// DefaultModelMap is the built-in fallback map (display_name -> qoder internal key).
28- // Matches catalog-v6 (2026-08-15) chat scene. Only used when dynamic fetch fails.
29- // Notable vs v5: Qwen3.8-Max graduated from preview (qmodel_preview ->
30- // qmodel_38max, renamed without "-Preview"); GLM-5.3 (gmodel) added.
28+ // Matches catalog-v7 (2026-09-22) chat scene. Only used when dynamic fetch fails.
29+ // Notable vs v6: Qwen3.8-Flash (qfmodel) added; DeepSeek-V4-Flash renamed to
30+ // DeepSeek-Flash (same key dfmodel); Kimi-K2.7-Code -> Kimi-K3 (kmodel_latest,
31+ // K2.8-Preview keeps kmodel); GLM-5.3-Flash (gfmodel) and Qwen3.7-Flash
32+ // (q37fmodel) added; Qwen3.6-Flash (q36fmodel) retired.
3133var DefaultModelMap = map [string ]string {
3234 "Qwen3.8-Max" : "qmodel_38max" ,
35+ "Qwen3.8-Flash" : "qfmodel" ,
3336 "Qwen3.7-Max" : "qmodel_latest" ,
3437 "Qwen3.7-Plus" : "qmodel" ,
35- "Qwen3.6 -Flash" : "q36fmodel " ,
38+ "Qwen3.7 -Flash" : "q37fmodel " ,
3639 "DeepSeek-V4-Pro" : "dmodel" ,
37- "DeepSeek-V4- Flash" : "dfmodel" ,
40+ "DeepSeek-Flash" : "dfmodel" ,
3841 "GLM-5.3" : "gmodel" ,
42+ "GLM-5.3-Flash" : "gfmodel" ,
3943 "GLM-5.2" : "gm51model" ,
40- "Kimi-K2.7-Code" : "kmodel" ,
44+ "Kimi-K3" : "kmodel_latest" ,
45+ "Kimi-K2.8-Preview" : "kmodel" ,
4146 "MiniMax-M2.7" : "mmodel" ,
4247}
4348
@@ -46,14 +51,17 @@ var DefaultModelMap = map[string]string{
4651// unreliable — do not treat this as an authoritative capability matrix.
4752var DefaultVisionModels = map [string ]bool {
4853 "Qwen3.8-Max" : true ,
54+ "Qwen3.8-Flash" : true ,
4955 "Qwen3.7-Max" : true ,
5056 "Qwen3.7-Plus" : true ,
51- "Qwen3.6 -Flash" : true ,
57+ "Qwen3.7 -Flash" : true ,
5258 "DeepSeek-V4-Pro" : true ,
53- "DeepSeek-V4- Flash" : true ,
59+ "DeepSeek-Flash" : true ,
5460 "GLM-5.3" : true ,
61+ "GLM-5.3-Flash" : true ,
5562 "GLM-5.2" : true ,
56- "Kimi-K2.7-Code" : true ,
63+ "Kimi-K3" : true ,
64+ "Kimi-K2.8-Preview" : true ,
5765}
5866
5967// PreferredDefaultKey is the default model key when model param is None/empty.
0 commit comments