I'm experiencing an issue after upgrading from Mastra V.0 to V.1. Previously, I used the /api/agents/:agentId/stream/ui endpoint for streaming responses, but this endpoint has been deprecated in V.1.
I've switched to the standard streaming endpoint /api/agents/:agentId/stream, but I'm noticing a delay in the response. When I test this endpoint in Postman, it doesn't return chunks progressively as they're generated. Instead, it waits until all chunks are ready and then returns the complete result all at once.
Am I implementing the streaming approach incorrectly?