Files
probo/pkg/llm
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 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00
2026-03-13 17:21:43 +01:00