akhaliq HF Staff commited on
Commit
af35b33
·
1 Parent(s): fdd720a

use fastest

Browse files
Files changed (1) hide show
  1. backend_models.py +2 -2
backend_models.py CHANGED
@@ -96,8 +96,8 @@ def get_real_model_id(model_id: str) -> str:
96
  return "zai-org/GLM-4.5:fireworks-ai"
97
 
98
  elif model_id == "zai-org/GLM-4.7":
99
- # GLM-4.7 needs zai-org provider suffix
100
- return "zai-org/GLM-4.7:zai-org"
101
 
102
  return model_id
103
 
 
96
  return "zai-org/GLM-4.5:fireworks-ai"
97
 
98
  elif model_id == "zai-org/GLM-4.7":
99
+ # GLM-4.7 needs fastest provider suffix
100
+ return "zai-org/GLM-4.7:fastest"
101
 
102
  return model_id
103