()
| 604 | let current: ToolResultCandidate[] = [] |
| 605 | |
| 606 | const flush = () => { |
| 607 | if (current.length > 0) groups.push(current) |
| 608 | current = [] |
| 609 | } |
| 610 | |
| 611 | // Track all assistant message.ids seen so far — same-ID fragments are |
| 612 | // merged by normalizeMessagesForAPI (messages.ts ~2126 walks back PAST |
no test coverage detected