fix responses api test

This commit is contained in:
Ishaan Jaff 2025-04-18 19:44:29 -07:00
parent a1a18efd5c
commit 81a21f8d20

View file

@ -581,7 +581,7 @@ class LiteLLMCompletionResponsesConfig:
type="output_text",
text=message.content,
annotations=LiteLLMCompletionResponsesConfig._transform_chat_completion_annotations_to_response_output_annotations(
annotations=message.annotations
annotations=getattr(message, "annotations", None)
),
)