Commit Graph

1 Commits

Author SHA1 Message Date
197fd69ce3 fix: resolve streaming content accumulation issue
- Fixed stale closure bug in streaming content by using useRef to properly accumulate content instead of relying on state closure
- Added auto-scrolling functionality to keep latest content visible during generation
- Implemented smooth scrolling behavior and improved HTML styling for better readability
- Added content buffer reset when starting new generation
- Enhanced documentation with detailed explanation of the closure problem and solution
2025-10-25 21:39:40 +02:00