Currently stream APIs (including official API and OpenAI compatible API) do not properly handle tool

Currently stream APIs (including official API and OpenAI compatible API) do not properly handle tool_call response; the tool call content is embedded in the
response
or
content
field.
Could the stream API provide the same behavior as the non-stream API? For example, "response“: null, "tool_calls": [...]
Was this page helpful?