Fix premature tool call finalization in Kiro streaming responses
- Avoid calling parser.get_tool_calls() during streaming loop - Only call get_tool_calls() after all chunks are processed - Send tool calls in separate chunk after content streaming completes - Prevents empty arguments issue caused by premature finalization
Showing
This diff is collapsed.
Please
register
or
sign in
to comment