mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 09:04:10 +00:00
0295f912be
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