Spaces:
Running
Running
remove gpt oss
Browse files
app.py
CHANGED
|
@@ -2344,16 +2344,6 @@ AVAILABLE_MODELS = [
|
|
| 2344 |
"id": "gemini-flash-lite-latest",
|
| 2345 |
"description": "Google Gemini Flash Lite Latest model via OpenAI-compatible API"
|
| 2346 |
},
|
| 2347 |
-
{
|
| 2348 |
-
"name": "GPT-OSS-120B",
|
| 2349 |
-
"id": "openai/gpt-oss-120b",
|
| 2350 |
-
"description": "OpenAI GPT-OSS-120B model for advanced code generation and general tasks"
|
| 2351 |
-
},
|
| 2352 |
-
{
|
| 2353 |
-
"name": "GPT-OSS-20B",
|
| 2354 |
-
"id": "openai/gpt-oss-20b",
|
| 2355 |
-
"description": "OpenAI GPT-OSS-20B model for code generation and general tasks"
|
| 2356 |
-
},
|
| 2357 |
{
|
| 2358 |
"name": "GPT-5",
|
| 2359 |
"id": "gpt-5",
|
|
@@ -2544,10 +2534,6 @@ def get_inference_client(model_id, provider="auto"):
|
|
| 2544 |
api_key=api_key,
|
| 2545 |
base_url=base_url,
|
| 2546 |
)
|
| 2547 |
-
elif model_id == "openai/gpt-oss-120b":
|
| 2548 |
-
provider = "groq"
|
| 2549 |
-
elif model_id == "openai/gpt-oss-20b":
|
| 2550 |
-
provider = "groq"
|
| 2551 |
elif model_id == "moonshotai/Kimi-K2-Instruct":
|
| 2552 |
provider = "groq"
|
| 2553 |
elif model_id == "deepseek-ai/DeepSeek-V3.1":
|
|
|
|
| 2344 |
"id": "gemini-flash-lite-latest",
|
| 2345 |
"description": "Google Gemini Flash Lite Latest model via OpenAI-compatible API"
|
| 2346 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2347 |
{
|
| 2348 |
"name": "GPT-5",
|
| 2349 |
"id": "gpt-5",
|
|
|
|
| 2534 |
api_key=api_key,
|
| 2535 |
base_url=base_url,
|
| 2536 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2537 |
elif model_id == "moonshotai/Kimi-K2-Instruct":
|
| 2538 |
provider = "groq"
|
| 2539 |
elif model_id == "deepseek-ai/DeepSeek-V3.1":
|