fix: Correct Cerebras GPT-OSS-120B model name (#16939)

Change model identifier from cerebras/openai/gpt-oss-120b to
cerebras/gpt-oss-120b to match Cerebras API requirements.

The Cerebras API only accepts 'gpt-oss-120b' as the model ID, not
'openai/gpt-oss-120b'. The previous name was causing "Model does not
exist" errors when users tried to use it.

Tested with real API calls to confirm:
- cerebras/gpt-oss-120b → sends 'gpt-oss-120b' → ✅ works
- cerebras/openai/gpt-oss-120b → sends 'openai/gpt-oss-120b' → ❌ fails

Fixes #16924
This commit is contained in:
Cesar Garcia 2025-11-21 19:20:31 -03:00 • committed by GitHub
parent fb38763eb4
commit 1812ebae70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5906,7 +5906,7 @@
"supports_function_calling": true,
"supports_tool_choice": true
},
"cerebras/openai/gpt-oss-120b": {
"cerebras/gpt-oss-120b": {
"input_cost_per_token": 2.5e-07,
"litellm_provider": "cerebras",
"max_input_tokens": 131072,

View file

@ -5906,7 +5906,7 @@
"supports_function_calling": true,
"supports_tool_choice": true
},
"cerebras/openai/gpt-oss-120b": {
"cerebras/gpt-oss-120b": {
"input_cost_per_token": 2.5e-07,
"litellm_provider": "cerebras",
"max_input_tokens": 131072,