Skip to content

Conversation

@realark
Copy link
Collaborator

@realark realark commented Dec 31, 2025

swap out explicit mocks with VCR util to record+replay AI provider endpoints

tests are mostly unchanged. I had to update a few assertions to account for non-deterministic responses from the AI vendors (e.g. assert > 0 tokens instead of an exact token count).

also swaped out the test harness span exporter with a custom unit test span exporter which allows waiting for a min span count

@realark realark force-pushed the ark/vcr-wiremock branch 3 times, most recently from ca11487 to 919e29d Compare December 31, 2025 05:44
@realark realark marked this pull request as ready for review December 31, 2025 05:52
@realark realark requested review from clutchski and delner December 31, 2025 06:14
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@delner -- this is follow-up from the langchain PR. I ended up making my own span exporter that allows waiting for spans without sleeping

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants