fix(sdk): always attach Response on HTTPError (#2668)
## Summary - Always pass `includeResponse: true` when converting failed `Response` objects to `HTTPError`, so `error.response` is available without registering `onFailedResponseHook`. ## Test plan - [x] New unit test `should attach error.response without onFailedResponseHook` passes with the fix - [x] Same test fails with `response: undefined` when the fix is stashed (`git stash` A/B) - [x] Changeset for `@langchain/langgraph-sdk` Fixes #2632 Co-authored-by: edenbuilds <279970382+edenbuilds@users.noreply.github.com>
E
edenbuilds committed
f9c0e885e25149fe614d7d2002c884b80ab54484
Parent: 6ac60da
Committed by GitHub <noreply@github.com>
on 8/10/2026, 7:11:59 PM