bep40 commited on
Commit
928616d
·
verified ·
1 Parent(s): a00dc3f

Replace Grok 4.3 with Owl Alpha (OpenRouter)

Browse files
Files changed (1) hide show
  1. 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: 'grok-4.3',
23
- name: 'Grok 4.3',
24
- description: 'Tốt nhất giá rẻ · $2/$10 · 1M context',
25
- modelPath: 'openai/x-ai/grok-4.3',
26
- avatarUrl: 'https://huggingface.co/api/avatars/xai-org',
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 "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")
 
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")