Spaces:
Runtime error
Runtime error
Test GLM-5.2 (753B MoE) on Novita; fallback is Qwen2.5-72B
Browse filesUser testing GLM-5.2 for quality and speed. If unsatisfactory,
revert to Qwen/Qwen2.5-72B-Instruct (commit 0e9045f).
Generated with Devin (https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
app.py
CHANGED
|
@@ -941,7 +941,7 @@ def respond(message, history):
|
|
| 941 |
for attempt in range(3):
|
| 942 |
try:
|
| 943 |
response = client.chat_completion(
|
| 944 |
-
model="
|
| 945 |
messages=messages,
|
| 946 |
max_tokens=512,
|
| 947 |
)
|
|
|
|
| 941 |
for attempt in range(3):
|
| 942 |
try:
|
| 943 |
response = client.chat_completion(
|
| 944 |
+
model="zai-org/GLM-5.2", # testing; fallback is Qwen/Qwen2.5-72B-Instruct if quality/speed unsatisfactory
|
| 945 |
messages=messages,
|
| 946 |
max_tokens=512,
|
| 947 |
)
|