#472
Increase stdout buffer limit to prevent errors
Increase stdout StreamReader's line-buffer limit to 16 MiB to prevent LimitOverrunError during large JSON/context payload streams.
Related Error :
[STATE] error: Separator is found, but chunk is longer than limit Stage 'Asset Identification' failed: Separator is found, but chunk is longer than limit [WARNING] Stage 'Asset Identification' had an error: Separator is found, but chunk is longer than limit
Activity
2gemini-code-assist[bot]reviewed4mo ago
Code Review
This pull request attempts to increase the stdout StreamReader's line-buffer limit to 16 MiB to prevent LimitOverrunError during large payload streams. However, the implementation introduces a critical syntax error by placing an if statement inside a function call's argument list, and references self._process before it is defined. The reviewer provided a code suggestion to resolve this by moving the logic after the function call.