Commit fd25134
fix(e2e): fix hermetic cassette mismatches for ai-sdk, groq, and cohere
- ai-sdk: remove "**" wildcard from ignoreBodyFields so stream vs
non-stream requests match the correct cassette entries; the wildcard
was causing non-streaming calls to receive SSE responses
- groq: split synthetic reasoning SSE entry into separate content and
stop/usage chunks so x_groq.usage is captured; fix entry 3 callIndex
from 2 to 3
- cohere: rewrite v7-14-0 cassette from /v1/{chat,embed,rerank} to
/v2/{chat,embed,rerank} to match what client.v2.* actually calls
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 6228c33 commit fd25134
4 files changed
Lines changed: 109 additions & 420 deletions
File tree
- e2e
- helpers
- scenarios
- cohere-instrumentation/__cassettes__
- groq-instrumentation/__cassettes__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 10 | | |
20 | 11 | | |
21 | 12 | | |
| |||
0 commit comments