Bug: Streaming errors in XRequest not calling onError and requestFallback broken
Bug: Streaming errors in XRequest not calling onError and requestFallback broken: a task in LegoFlow-SWE (Harbor dataset). When using the XRequest class from @ant-design/x-sdk to perform streaming requests (e.g., SSE or NDJSON), server-side errors encountered during the stream are not properly…
The task
When using the `XRequest` class from `@ant-design/x-sdk` to perform streaming requests (e.g., SSE or NDJSON), server-side errors encountered during the stream are not properly handled. The `onError` callback is never invoked, and the `requestFallback` mechanism fails to activate, leaving the caller with no error…
Part of Lego-X/LegoFlow-SWE.