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

   ## Summary
   Closes #6993.
   
   Ignore one leading UTF-8 BOM before interpreting the first SSE line. 
InputStreamReader retains this character, which previously prevented the first 
`data:` field from matching and silently dropped its completion chunk. Interior 
U+FEFF characters are preserved.
   
   The regression serves a real local HTTP response and checks both the first 
chunk and an interior U+FEFF. This follows the [SSE decoding 
rule](https://html.spec.whatwg.org/multipage/server-sent-events.html#interpreting-an-event-stream).
   
   ## Validation
   - Before: the new regression receives only the second chunk.
   - After: `mvn -B -ntp -Dtest=OpenAiCompatibleLlmClientTest test`: 30 passed, 
zero Checkstyle violations (Java 21).
   - `git diff --check` passes.
   
   AI assistance was used; the diff and regression results were reviewed.
   
   


-- 
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