bep40 commited on
Commit
88430b6
·
verified ·
1 Parent(s): c3b14eb

Update model IDs: Qwen3-Coder-Next, MiniMax-M2.7, GLM-5.1, DeepSeek-V4-Pro

Browse files
Files changed (1) hide show
  1. patch_frontend.py +25 -16
patch_frontend.py CHANGED
@@ -27,26 +27,34 @@ new_models = """ {
27
  recommended: true,
28
  },
29
  {
30
- id: 'deepseek-v4-pro-or',
31
  name: 'DeepSeek V4 Pro',
32
- description: 'Rẻ nhất · $0.5/$2.18 · code quality cực tốt',
33
- modelPath: 'openai/deepseek/deepseek-v4-pro',
34
  avatarUrl: 'https://huggingface.co/api/avatars/deepseek-ai',
35
  recommended: true,
36
  },
37
  {
38
- id: 'qwen3.7-max',
39
- name: 'Qwen 3.7 Max',
40
- description: 'Cân bằng · $1/$4 · quality khá',
41
- modelPath: 'openai/qwen/qwen3.7-max',
42
  avatarUrl: 'https://huggingface.co/api/avatars/Qwen',
 
43
  },
44
  {
45
- id: 'qwen3-235b-hf',
46
- name: 'Qwen3 235B (HF Free)',
47
- description: 'Miễn phí qua HF Inference',
48
- modelPath: 'Qwen/Qwen3-235B-A22B',
49
- avatarUrl: 'https://huggingface.co/api/avatars/Qwen',
 
 
 
 
 
 
 
50
  },
51
  {
52
  id: 'gemini-2.0-flash',
@@ -63,8 +71,9 @@ with open(FILE, "w") as f:
63
  f.write(content)
64
 
65
  assert "grok-4.3" in content
66
- assert "deepseek-v4-pro" in content
67
- assert "qwen3.7-max" in content
68
- assert "Qwen3-235B-A22B" in content
 
69
  assert "gemini-2.0-flash" in content
70
- print("✅ Frontend patched: Grok 4.3, DeepSeek V4 Pro, Qwen 3.7 Max, Qwen3 HF, Gemini Flash added")
 
27
  recommended: true,
28
  },
29
  {
30
+ id: 'deepseek-v4-pro',
31
  name: 'DeepSeek V4 Pro',
32
+ description: 'Rẻ nhất · code quality cực tốt · HF Inference',
33
+ modelPath: 'deepseek-ai/DeepSeek-V4-Pro',
34
  avatarUrl: 'https://huggingface.co/api/avatars/deepseek-ai',
35
  recommended: true,
36
  },
37
  {
38
+ id: 'qwen3-coder-next',
39
+ name: 'Qwen3 Coder Next',
40
+ description: 'Code mạnh · HF Inference',
41
+ modelPath: 'Qwen/Qwen3-Coder-Next',
42
  avatarUrl: 'https://huggingface.co/api/avatars/Qwen',
43
+ recommended: true,
44
  },
45
  {
46
+ id: 'minimax-m2.7',
47
+ name: 'MiniMax M2.7',
48
+ description: 'Đa năng · HF Inference',
49
+ modelPath: 'MiniMaxAI/MiniMax-M2.7',
50
+ avatarUrl: 'https://huggingface.co/api/avatars/MiniMaxAI',
51
+ },
52
+ {
53
+ id: 'glm-5.1',
54
+ name: 'GLM 5.1',
55
+ description: 'Mạnh · HF Inference',
56
+ modelPath: 'zai-org/GLM-5.1',
57
+ avatarUrl: 'https://huggingface.co/api/avatars/zai-org',
58
  },
59
  {
60
  id: 'gemini-2.0-flash',
 
71
  f.write(content)
72
 
73
  assert "grok-4.3" in content
74
+ assert "DeepSeek-V4-Pro" in content
75
+ assert "Qwen3-Coder-Next" in content
76
+ assert "MiniMax-M2.7" in content
77
+ assert "GLM-5.1" in content
78
  assert "gemini-2.0-flash" in content
79
+ print("✅ Frontend patched: Grok 4.3, DeepSeek V4 Pro, Qwen3 Coder Next, MiniMax M2.7, GLM 5.1, Gemini Flash")