Dhanji R. Prasanna
a2e51cf075
refactor(g3-core): extract streaming logic to agent_streaming.rs
Reduce lib.rs complexity by extracting the streaming completion logic:
- Extract stream_completion_with_tools (~1080 lines) to agent_streaming.rs
- Extract stream_with_retry helper method
- Extract parse_diff_stats helper function
- Add handle_pre_stream_compaction helper for cleaner pre-stream logic
- Add format_tool_output helper for tool output formatting
- Remove 3 unused constructor variants:
- new_with_readme
- new_autonomous_with_readme
- new_with_quiet
Results:
- lib.rs reduced from 2974 to 1791 lines (40% reduction)
- Streaming logic cleanly separated into dedicated module
- All tests pass, no behavior changes
Agent: fowler
2026-01-13 06:14:56 +05:30
..
2026-01-13 05:58:54 +05:30
2026-01-10 20:44:23 +11:00
2026-01-10 20:34:14 +11:00
2026-01-13 06:14:56 +05:30
2026-01-12 18:20:08 +05:30
2025-12-22 16:27:35 +11:00
2026-01-13 05:49:45 +05:30
2026-01-12 05:13:02 +05:30
2026-01-12 10:13:58 +05:30