Commit 296c165
fix(anthropic): enable messages.stream() in auto-instrumentation e2e tests (#1592)
The root cause of #1592 was fixed by PR #1617: `patch-tracing-channel.ts` now
preserves the original `APIPromise` object (with `.withResponse()`) instead of
wrapping it in a plain `.then()` chain when the result is a Promise subclass.
Remove the `useMessagesStreamHelper: false` workaround that was causing the
auto-hook instrumentation path to avoid `client.messages.stream()`. The 140
anthropic e2e tests all pass with `messages.stream()` enabled in both the
wrapper and auto-hook paths.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c2d24c1 commit 296c165
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
254 | | - | |
255 | 254 | | |
256 | 255 | | |
257 | 256 | | |
| |||
0 commit comments