mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-08 08:20:20 +08:00
* fix: make SSE buffer size configurable to prevent overflow during multi-round searches (Issue #664) - Add NEXT_PUBLIC_MAX_STREAM_BUFFER_SIZE environment variable for frontend SSE stream buffer - Default to 1MB for backward compatibility, users can increase to 5-10MB for large searches - Enhance error message with actual buffer sizes and guidance on configuration - Add validation schema in env.js with positive integer requirement - Document configuration in .env.example with clear examples and use cases * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>