Spaces:
Paused
Paused
Update model IDs: Qwen3-Coder-Next, MiniMax-M2.7, GLM-5.1, DeepSeek-V4-Pro
Browse files- 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
|
| 31 |
name: 'DeepSeek V4 Pro',
|
| 32 |
-
description: 'Rẻ nhất ·
|
| 33 |
-
modelPath: '
|
| 34 |
avatarUrl: 'https://huggingface.co/api/avatars/deepseek-ai',
|
| 35 |
recommended: true,
|
| 36 |
},
|
| 37 |
{
|
| 38 |
-
id: 'qwen3
|
| 39 |
-
name: '
|
| 40 |
-
description: '
|
| 41 |
-
modelPath: '
|
| 42 |
avatarUrl: 'https://huggingface.co/api/avatars/Qwen',
|
|
|
|
| 43 |
},
|
| 44 |
{
|
| 45 |
-
id: '
|
| 46 |
-
name: '
|
| 47 |
-
description: '
|
| 48 |
-
modelPath: '
|
| 49 |
-
avatarUrl: 'https://huggingface.co/api/avatars/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 "
|
| 67 |
-
assert "
|
| 68 |
-
assert "
|
|
|
|
| 69 |
assert "gemini-2.0-flash" in content
|
| 70 |
-
print("✅ Frontend patched: Grok 4.3, DeepSeek V4 Pro,
|
|
|
|
| 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")
|