Skip to content

Conversation

ihower
Copy link
Contributor

@ihower ihower commented Oct 21, 2025

Resolves #1846

This PR provides a simpler fix than #1929.

The root cause is the same as in #1206
When returning the final Response, it should be converted to the Responses API format.
Applying the exactly same fix from PR #1206 (by @seratch) resolves this issue.

No new tests were added, since Converter.convert_tool_choice is already tested.

@ihower ihower force-pushed the fix-litellm-streaming-tool-choice branch from a54b752 to 0da5b26 Compare October 21, 2025 21:06
Copy link
Member

@seratch seratch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@seratch seratch merged commit 04eec50 into openai:main Oct 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants