You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I enable streaming it seems that the tool use JSON payload is sent as part of the content field of the ChatResponse value and tool_calls remains empty. Disabling streaming for the same model/prompt populates this array as I'd expect.
Is there a way to enable the same parsing with streaming enabled (or, alternatively a guide on how to consistently parse a tool use from the streaming model response)?
The text was updated successfully, but these errors were encountered:
When I enable streaming it seems that the tool use JSON payload is sent as part of the
content
field of theChatResponse
value andtool_calls
remains empty. Disabling streaming for the same model/prompt populates this array as I'd expect.Is there a way to enable the same parsing with streaming enabled (or, alternatively a guide on how to consistently parse a tool use from the streaming model response)?
The text was updated successfully, but these errors were encountered: