litellm/tests/test_litellm/completion_extras
Cesar Garcia 138b415e81
fix(responses-api): use list format with input_text for tool results (#18257)
The Responses API expects tool results to use input_text/input_image types,
not output_text. This fix ensures consistent list format for all tool results:
- String content → [{"type": "input_text", "text": "..."}]
- Image content → [{"type": "input_image", "image_url": "..."}]

This resolves the conflict between tests that expected different formats
and aligns with OpenAI's Responses API requirements.

Fixes the regression introduced in #18226.
2025-12-20 13:46:14 +05:30
..
litellm_responses_transformation fix(responses-api): use list format with input_text for tool results (#18257) 2025-12-20 13:46:14 +05:30
test_litellm_responses_transformation_transformation.py fix: Support response_format parameter in completion -> responses bridge 2025-11-19 17:07:46 -03:00