Bryan Frimin
3b9a13b5d9
Only advance streamed tool-call index for tool-use blocks
...
Incrementing toolIndex on every ContentBlockStop caused it to drift
when non-tool blocks (e.g. text) preceded tool-use blocks, making
Bedrock tool calls disappear from the accumulated response.
Track whether the current content block is a tool-use block and only
bump the index when a tool-use block ends.
Signed-off-by: Bryan Frimin <bryan@getprobo.com >
2026-03-13 18:26:38 +01:00
..
2026-03-13 18:15:45 +01:00
2026-03-13 18:24:02 +01:00
2026-03-06 15:00:42 +01:00
2026-02-02 13:32:59 +04:00
2026-01-17 10:07:34 -08:00
2026-03-13 18:24:02 +01:00
2026-03-13 17:18:02 +01:00
2026-02-02 18:42:50 +01:00
2026-03-13 17:18:02 +01:00
2026-03-13 17:18:02 +01:00
2026-03-13 14:48:13 +01:00
2026-03-11 15:34:37 +01:00
2026-03-06 15:00:42 +01:00
2026-02-04 18:32:53 +04:00
2026-03-13 17:18:02 +01:00
2026-03-13 14:48:13 +01:00
2026-03-13 17:18:02 +01:00
2026-03-13 18:26:38 +01:00
2026-01-17 12:34:23 -08:00
2026-03-11 15:34:37 +01:00
2026-03-11 15:34:37 +01:00
2025-11-20 19:25:29 +01:00
2026-03-13 18:24:02 +01:00
2026-03-13 18:24:02 +01:00
2026-03-13 17:18:02 +01:00
2026-03-13 17:18:02 +01:00
2026-01-17 10:07:34 -08:00
2026-03-13 17:21:43 +01:00
2026-03-11 14:42:37 +04:00
2025-07-14 12:38:07 +02:00
2026-01-17 10:07:34 -08:00
2026-03-13 16:58:11 +04:00
2026-03-13 17:18:02 +01:00
2026-03-13 17:18:02 +01:00
2025-12-15 18:24:00 +01:00
2026-03-13 14:48:13 +01:00