Streaming allows you to receive Incredible’s response incrementally as it’s generated, rather than waiting for the complete response. This provides a better user experience for longer responses and enables real-time interactions.Documentation Index
Fetch the complete documentation index at: https://incredible-42686482-cursor-create-detailed-ai-agent-cookboo.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Streaming with Tools
When using function calling with streaming, tool parameters are streamed as partial JSON:text_chunks. To get the full message, you need to combine these chunks together in the order they arrive. Each chunk is part of the overall text, so only after concatenation do you get the complete response.
User Experience
- Progressive rendering: Display content as it streams in for better perceived performance
- Loading indicators: Show appropriate loading states during streaming