diff --git a/litellm/responses/litellm_completion_transformation/transformation.py b/litellm/responses/litellm_completion_transformation/transformation.py index 5c11ff7e78c..5501e87bfe4 100644 --- a/litellm/responses/litellm_completion_transformation/transformation.py +++ b/litellm/responses/litellm_completion_transformation/transformation.py @@ -454,9 +454,7 @@ class LiteLLMCompletionResponsesConfig: ) if system_contents: - messages.append( - LiteLLMCompletionResponsesConfig._merge_system_contents(system_contents) - ) + messages.append(LiteLLMCompletionResponsesConfig._merge_system_contents(system_contents)) messages.extend(message for message in input_messages if message.get("role") != "system")