doubleo7/deep_research
Austin Schaefer f53fcbd937 refactor: extract the streamed-text draining loop into its own module
write_text_stream() in the new stream.rs doesn't touch anything specific
to write_report (topic, findings, the agent) — it just drains a
MultiTurnStreamItem stream, writes each text chunk to a caller-provided
writer, and returns the accumulated string. Pulling it out lets it be
covered by unit tests against a mocked stream and an in-memory writer,
independent of a live model.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-17 12:37:11 +02:00
..
src refactor: extract the streamed-text draining loop into its own module 2026-08-17 12:37:11 +02:00
Cargo.toml feat: stream the report to the terminal as the writer generates it 2026-08-17 12:17:26 +02:00