Spaces:
Running
Running
fix
Browse files
app.py
CHANGED
|
@@ -2290,7 +2290,7 @@ AVAILABLE_MODELS = [
|
|
| 2290 |
},
|
| 2291 |
{
|
| 2292 |
"name": "Kimi K2 Thinking",
|
| 2293 |
-
"id": "moonshotai/Kimi-K2-Thinking
|
| 2294 |
"description": "Moonshot Kimi K2 Thinking model for advanced reasoning and code generation"
|
| 2295 |
}
|
| 2296 |
]
|
|
@@ -2427,7 +2427,7 @@ def get_inference_client(model_id, provider="auto"):
|
|
| 2427 |
api_key=os.getenv("MOONSHOT_API_KEY"),
|
| 2428 |
base_url="https://api.moonshot.ai/v1",
|
| 2429 |
)
|
| 2430 |
-
elif model_id == "moonshotai/Kimi-K2-Thinking
|
| 2431 |
# Use HuggingFace InferenceClient with Novita provider for Kimi K2 Thinking
|
| 2432 |
provider = "novita"
|
| 2433 |
elif model_id == "stealth-model-1":
|
|
|
|
| 2290 |
},
|
| 2291 |
{
|
| 2292 |
"name": "Kimi K2 Thinking",
|
| 2293 |
+
"id": "moonshotai/Kimi-K2-Thinking",
|
| 2294 |
"description": "Moonshot Kimi K2 Thinking model for advanced reasoning and code generation"
|
| 2295 |
}
|
| 2296 |
]
|
|
|
|
| 2427 |
api_key=os.getenv("MOONSHOT_API_KEY"),
|
| 2428 |
base_url="https://api.moonshot.ai/v1",
|
| 2429 |
)
|
| 2430 |
+
elif model_id == "moonshotai/Kimi-K2-Thinking":
|
| 2431 |
# Use HuggingFace InferenceClient with Novita provider for Kimi K2 Thinking
|
| 2432 |
provider = "novita"
|
| 2433 |
elif model_id == "stealth-model-1":
|