SIGN IN SIGN UP

fix(dashscope): preserve SSE error response body (#2278)

Fixes #2197.

DashScope SSE error events contain the model `request_id`, but
`DashScopeHttpClient.stream()` previously discarded the raw error
payload and constructed `DashScopeHttpException` with a `null` response
body.

This change preserves the parsed response together with its raw SSE
payload, then propagates that payload through
`DashScopeHttpException#getResponseBody()`. Callers can therefore
retrieve the DashScope `request_id` from the error response body.
J
Joe Zou committed
5700e5fedeacb3ab0418d5b64028334339cc70e8
Parent: 6782dc6
Committed by GitHub <noreply@github.com> on 7/30/2026, 3:25:00 PM