Skip to content

Commit 46ae865

Browse files
test(pydantic-ai): replay harness decisions with openai
> 🤖 **This text was AI-generated.** Record real OpenAI calls for compaction, memory injection, guardrail blocks, and model routing. The tests replay those calls without credentials and still assert the Braintrust spans and their parentage. Routing reuses the same recording with native instrumentation on and off. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com>
1 parent fd4d9bf commit 46ae865

5 files changed

Lines changed: 749 additions & 47 deletions

File tree

‎py/src/braintrust/integrations/pydantic_ai/harness/cassettes/latest/test_harness_compaction_decision.yaml‎

Lines changed: 215 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎py/src/braintrust/integrations/pydantic_ai/harness/cassettes/latest/test_harness_guardrail_block_decision.yaml‎

Lines changed: 105 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)