Skip to content

fix(multimodal): ignore outputless SSE metadata frames - #285

Merged
luk384090-cloud merged 3 commits into
mainfrom
dev/fix-multimodal-sse-outputless-events
Nov 5, 2026
Merged

luk384090-cloud merged 3 commits into
mainfrom
dev/fix-multimodal-sse-outputless-events

Conversation

@lzsweb

@lzsweb lzsweb commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • ignore successful usage/search/metadata SSE frames that do not carry model output
  • backfill requestId from x-request-id response header variants when the response body omits request_id
  • bump the next 2.x patch version to 2.23.5

Context

Java SDK 2.x treated every SSE event as a model result. The new gateway may emit successful auxiliary frames without output, which caused misleading Result no output ERROR logs and null request IDs.

Tests

  • mvn -q -Dtest=TestMultiModalConversation,TestSseErrorHandling,TestHalfDuplexHttpApi test
  • google-java-format 1.7 on all modified Java files
  • git diff --check

zhansheng.lzs added 3 commits November 3, 2026 12:38
Propagate request IDs through HTTP/SSE, WebSocket, and audio logs so users can correlate failures with service requests. Add regression coverage for header, body, task ID, and unknown fallbacks.
@luk384090-cloud
luk384090-cloud merged commit c2091f5 into main Nov 5, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants