Repository navigation
feat(typesafe): Capture image inputs - #2625
Merged
Merged
Conversation
Abhijeet Prasad (AbhiPrasad)
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref: braintrustdata/braintrust-spec#68
Adds image and box instrumentation for TypeSafe SDK 0.7 while retaining coverage for 0.6.
Calls emit one
decisionspan containing all questions and answers, including mixed box, Noul, Choice, and Score results.Images stay in their logged input locations, and box answers get an
image_pathwhen the image association is unambiguous.Attachment capture remains opt-in and uses the shared export pipeline for customization and upload fallback.
Adds pinned/latest e2e coverage for both version lines, recorded provider cassettes, and paired JSON/text span-tree snapshots.
The cassette harness can opt into inline request bodies so multipart image requests match during replay.
Verified build/lint, 33 focused tests, and three e2e replay runs with 36 passing tests each.
Verified all four summary links against 24 production traces.