mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-11 22:51:28 +00:00
feat: add stop parameter to non-supported params for GPT-5 (#15244)
- Add 'stop' parameter to the non_supported_params list in OpenAIGPT5Config - This ensures the stop parameter is automatically dropped when calling GPT-5 models - Resolves issue where stop parameter was not being stripped for GPT-5
This commit is contained in:
parent
8d7f39798c
commit
e5ca61d026
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ class OpenAIGPT5Config(OpenAIGPTConfig):
|
|||
"presence_penalty",
|
||||
"frequency_penalty",
|
||||
"top_logprobs",
|
||||
"stop",
|
||||
]
|
||||
|
||||
return [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue