mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-17 23:51:30 +00:00
fix(openai): remove unused model_for_check variable after 'user' refactor
This commit is contained in:
parent
1ec84c809a
commit
18426a2597
1 changed files with 0 additions and 4 deletions
|
|
@ -175,10 +175,6 @@ class OpenAIGPTConfig(BaseLLMModelInfo, BaseConfig):
|
|||
): # gpt-4 does not support 'response_format'
|
||||
model_specific_params.append("response_format")
|
||||
|
||||
# Normalize model name for responses API (e.g., "responses/gpt-4.1" -> "gpt-4.1")
|
||||
model_for_check = (
|
||||
model.split("responses/", 1)[1] if "responses/" in model else model
|
||||
)
|
||||
return base_params + model_specific_params
|
||||
|
||||
def _map_openai_params(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue