Streaming form: feed deltas, get back what is answer and what is thinking. A tag split across two deltas (<thi + nk>) is held back until it is known to be a tag or not, so no tag text ever leaks into the answer.
<thi
nk>
End of stream: whatever was held back was not a tag after all.
Streaming form: feed deltas, get back what is answer and what is thinking. A tag split across two deltas (
<thi+nk>) is held back until it is known to be a tag or not, so no tag text ever leaks into the answer.