Priority: P3 · Nature: unfinished field
Problem
stream_with_result.go:436 emits tool-output events with an empty ID:
ToolOutput: &ToolOutput{
ToolCallID: "", // Would need to track this
The ID is available in recordedToolCalls[i].
Impact
Consumers of StreamWithResult cannot correlate tool outputs back to their originating tool calls.
Fix
Pass recordedToolCalls[i].ID through to the event.
Filed from a full-repo audit (branch main). Verified against source; baseline go vet/staticcheck/go test -race pass on the default build.
Priority: P3 · Nature: unfinished field
Problem
stream_with_result.go:436emits tool-output events with an empty ID:The ID is available in
recordedToolCalls[i].Impact
Consumers of
StreamWithResultcannot correlate tool outputs back to their originating tool calls.Fix
Pass
recordedToolCalls[i].IDthrough to the event.Filed from a full-repo audit (branch
main). Verified against source; baselinego vet/staticcheck/go test -racepass on the default build.