You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 888cefe
Browse filesBrowse the repository at this point in the historyBrowse files
fix(api): normalize stream-iteration aborts in the xAI responses path
CodeRabbit: an abort landing after responses.create resolved escaped
as the OpenAI SDK's APIUserAbortError (name "Error") from the yield*
over processResponsesApiStream, outside the create catch, so callers
classified the cancellation as a provider failure. Wrap the stream
iteration and normalize through isRequestAborted/createAbortError to
the series contract (name AbortError, "The xAI request was aborted").
Regression test pins the path; negative control: reverting the wrap
fails exactly that test (1 red / 37 green).
0 commit comments