Repository navigation
Commit 00c7c14
committed
test(ai-sdk): cover v7 inline file attachments in e2e and re-record
- Keep the AI SDK v7 `{ type: "data", data }` envelope when logging inline
file bytes as attachments, matching the decision-image logging shape.
- Add a streamText image-file e2e operation (v5+, tagged data on v7) that
asserts file bytes are logged as attachments on both the parent and
model spans. It fails without the fix.
- Replace the plugin unit test and two live-API wrapper image tests with
this e2e coverage, and drop the unused test-image.png fixture.
- Move the scenario off the deprecated gpt-4.1-nano and gpt-4o-mini to
gpt-5.4-nano (v3 keeps gpt-4o-mini because its provider sends
max_tokens), send prior tool items inline with store: false, and
re-record all cassettes and snapshots.1 parent 9b8a7be commit 00c7c14
63 files changed
Lines changed: 57012 additions & 32474 deletions
File tree
- .changeset
- e2e/scenarios/ai-sdk-instrumentation
- __cassettes__
- ai-sdk-v5-latest.cassette.blobs
- ai-sdk-v5.cassette.blobs
- ai-sdk-v6-latest.cassette.blobs
- ai-sdk-v6.cassette.blobs
- ai-sdk-v7-latest.cassette.blobs
- ai-sdk-v7.cassette.blobs
- __snapshots__
- js/src
- instrumentation/plugins
- wrappers/ai-sdk
- fixtures
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments