Repository navigation
Commit 18be56d
test(pydantic-ai): replay a recorded harness tool run (#1197)
## Summary
Replace the fake model in the Harness smoke test from #1191 with two
recorded OpenAI Responses API calls using `gpt-4.1-mini`. The first
response requests the registered `echo` tool and the second returns its
result. Replay still checks step persistence and Braintrust agent,
model, and tool span parentage.
Remove the unused fake-model helpers.
Link to Devin session:
https://braintrust.devinenterprise.com/sessions/5c5011629ab54592879e094639413ace
Open in Devin Desktop:
https://braintrust.devinenterprise.com/desktop/session/5c5011629ab54592879e094639413ace?variant=devin
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>1 parent 9878cf7 commit 18be56d
3 files changed
Lines changed: 260 additions & 32 deletions
File tree
- py/src/braintrust/integrations/pydantic_ai
- harness
- cassettes/latest
This file was deleted.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | | - | |
| 30 | + | |
26 | 31 | | |
27 | 32 | | |
28 | 33 | | |
| |||
0 commit comments