Question: How does a streamed answer reach the screen?
The answer arrives as a stream of small text events. Each event carries the attempt it belongs to, so text from a stopped answer cannot write into a new one.
- A token can split a citation marker in two. A filter holds the tail back until the marker is complete.
- The text is split into blocks. On each token, only the last block parses again.
- A source always arrives before the first text that cites it. A chip never shows without its evidence.
You can stop the answer at any time. The text that arrived stays on the screen, and the sources it cited stay with it.