mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
The 'user' parameter was being ignored when using responses API models (e.g., model="openai/responses/gpt-4.1") because the model name check in get_supported_openai_params() didn't account for the "responses/" prefix. Fix: Normalize the model name by stripping "responses/" prefix before checking if the model is in the list of supported OpenAI models. This is a minimal, non-breaking change that: - Adds 2 lines of code in gpt_transformation.py - Only affects the parameter support check, not the model variable itself - Includes unit and integration tests |
||
|---|---|---|
| .. | ||
| chat | ||
| completion | ||
| image_generation | ||
| realtime | ||
| responses | ||
| speech | ||
| transcriptions | ||
| vector_store_files | ||
| vector_stores | ||
| test_gpt5_transformation.py | ||
| test_o_series_transformation.py | ||
| test_openai_common_utils.py | ||
| test_openai_empty_response.py | ||
| test_openai_image_edit_transformation.py | ||