mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
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:
parent
fb38763eb4
commit
1812ebae70
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue