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:
Teddy Amkie 2025-10-06 19:57:21 -07:00 committed by GitHub
parent 8d7f39798c
commit e5ca61d026
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,6 +41,7 @@ class OpenAIGPT5Config(OpenAIGPTConfig):
"presence_penalty",
"frequency_penalty",
"top_logprobs",
"stop",
]
return [