Spaces:
Paused
Paused
Replace Grok 4.3 with Owl Alpha (OpenRouter)
Browse files- patch_frontend.py +7 -7
patch_frontend.py
CHANGED
|
@@ -19,11 +19,11 @@ if idx_end == -1:
|
|
| 19 |
import sys; sys.exit(1)
|
| 20 |
|
| 21 |
new_models = """ {
|
| 22 |
-
id: '
|
| 23 |
-
name: '
|
| 24 |
-
description: '
|
| 25 |
-
modelPath: '
|
| 26 |
-
avatarUrl: 'https://huggingface.co/api/avatars/
|
| 27 |
recommended: true,
|
| 28 |
},
|
| 29 |
{
|
|
@@ -70,10 +70,10 @@ content = content[:idx_end] + new_models + content[idx_end:]
|
|
| 70 |
with open(FILE, "w") as f:
|
| 71 |
f.write(content)
|
| 72 |
|
| 73 |
-
assert "
|
| 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:
|
|
|
|
| 19 |
import sys; sys.exit(1)
|
| 20 |
|
| 21 |
new_models = """ {
|
| 22 |
+
id: 'owl-alpha',
|
| 23 |
+
name: 'Owl Alpha',
|
| 24 |
+
description: 'OpenRouter · mạnh · đa năng',
|
| 25 |
+
modelPath: 'openrouter/owl-alpha',
|
| 26 |
+
avatarUrl: 'https://huggingface.co/api/avatars/openrouter',
|
| 27 |
recommended: true,
|
| 28 |
},
|
| 29 |
{
|
|
|
|
| 70 |
with open(FILE, "w") as f:
|
| 71 |
f.write(content)
|
| 72 |
|
| 73 |
+
assert "owl-alpha" 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: Owl Alpha, DeepSeek V4 Pro, Qwen3 Coder Next, MiniMax M2.7, GLM 5.1, Gemini Flash")
|