mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
Drop the transform overrides that swapped response.usage to the chat shape, which broke the /v1/responses client contract. Provider extras like server_side_tool_usage_details already survive validation via ResponseAPIUsage extra fields, so the shared usage bridge now carries them onto the bridged chat Usage generically. The web_search_call output gate also reads dict output items, since items that fail SDK validation stay plain dicts, and the chat path gains billing tests. |
||
|---|---|---|
| .. | ||
| test_xai_responses_transformation.py | ||