Question
Read the existing streaming code in this repo to find prior art for
handling state across SSE chunks. Concretely:
internal/streaming — what utilities exist for partial-buffer
reassembly?
- How do existing provider adapters handle
finish_reason /
tool_calls delta-reassembly?
Report: which existing utility or pattern should the think-block
translator's chunk-reassembly use (or whether to write a small new
helper that follows the same idiom). One paragraph; one file path.
Question
Read the existing streaming code in this repo to find prior art for
handling state across SSE chunks. Concretely:
internal/streaming— what utilities exist for partial-bufferreassembly?
finish_reason/tool_callsdelta-reassembly?Report: which existing utility or pattern should the think-block
translator's chunk-reassembly use (or whether to write a small new
helper that follows the same idiom). One paragraph; one file path.