diff --git a/docker/build_from_pip/Dockerfile.build_from_pip b/docker/build_from_pip/Dockerfile.build_from_pip index 2b45ace2f5..dc8183b55f 100644 --- a/docker/build_from_pip/Dockerfile.build_from_pip +++ b/docker/build_from_pip/Dockerfile.build_from_pip @@ -12,7 +12,7 @@ ENV PATH="${HOME}/venv/bin:$PATH" # to install python-3.14-dev specifically (if available in the repo) # rust and cargo are required for building ddtrace from source RUN apk update && \ - apk add --no-cache gcc openssl openssl-dev rust cargo + apk add --no-cache gcc openssl openssl-dev rust RUN python -m venv ${HOME}/venv RUN ${HOME}/venv/bin/pip install --no-cache-dir --upgrade pip diff --git a/litellm/llms/openai/chat/gpt_5_transformation.py b/litellm/llms/openai/chat/gpt_5_transformation.py index 0cbc0192e2..a6d6b16436 100644 --- a/litellm/llms/openai/chat/gpt_5_transformation.py +++ b/litellm/llms/openai/chat/gpt_5_transformation.py @@ -79,7 +79,7 @@ class OpenAIGPT5Config(OpenAIGPTConfig): if reasoning_effort is not None and reasoning_effort == "xhigh": if not self.is_model_gpt_5_1_codex_max_model(model): if litellm.drop_params or drop_params: - pass + non_default_params.pop("reasoning_effort", None) else: raise litellm.utils.UnsupportedParamsError( message=(