yyqdbngt opened a new pull request, #2413:
URL: https://github.com/apache/rocketmq-dashboard/pull/2413

   ## Summary
   
   - read SSE lines with an explicit character bound
   - enforce the same bound across multi-line `data:` payloads
   - surface an actionable 502 gateway error for oversized stream events
   
   ## Why
   
   Successful LLM streams are time-bounded but each SSE line/event is currently 
unbounded. A provider can send a single unterminated or multi-line event large 
enough to exhaust heap before the stream timeout fires.
   
   ## Tests
   
   - `mvn -q -f server/pom.xml -Dtest=OpenAiCompatibleLlmClientTest test`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to