Skip to content

Commit e044fed

Browse files
committed
Update PR #2519
1 parent 51ca13a commit e044fed

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎.changeset/light-plants-return.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@braintrust/deepseek-harness": major
3+
"braintrust": major
4+
"@braintrust/openai-agents": minor
5+
---
6+
7+
feat!: Add `BRAINTRUST_CAPTURE_ATTACHMENTS` env var option and `captureAttachments` logger option for all integrations

‎js/tests/provider-wrappers.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ describe("provider wrapper", () => {
157157
).toEqual(mockData);
158158
const spans = await backgroundLogger.drain();
159159
expect(spans).toHaveLength(1);
160-
expect(spans[0].output[0].result).toBe("<omitted>");
160+
expect(spans[0].output).toEqual([
161+
{ type: "image_generation_call", output_format: "png" },
162+
]);
161163
} finally {
162164
client.responses.create = originalCreate;
163165
if (originalAutoCaptureAttachments === undefined) {

0 commit comments

Comments
 (0)