GenkitG
Genkit12mo ago
5 replies
military-pink

Does ai.generateStream support streaming

Does ai.generateStream support streaming toolResponse? From logging every chunk in the stream, I can see that the content only includes toolRequest and then the final text response—without toolResponse in between. It would be really helpful if toolResponse could be streamed as well, as we'd like to display the tool-calling process in the UI.
Was this page helpful?