feat(openai): migrate openai wrapper and add claude agent sdk integration - #206
Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit intoApr 7, 2026
Conversation
Abhijeet Prasad (AbhiPrasad)
force-pushed
the
abhi-refactor-migrate-openai-wrapper-to-integrations
branch
from
April 4, 2026 02:42
a12f43b to
50dae47
Compare
Contributor
|
Drop into this review session: Found 3 issues:
Compare with the working pattern:
braintrust-sdk-python/py/src/braintrust/integrations/__init__.py Lines 1 to 26 in 50dae47
braintrust-sdk-python/py/src/braintrust/oai.py Line 1107 in 50dae47 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
Abhijeet Prasad (AbhiPrasad)
force-pushed
the
abhi-refactor-migrate-openai-wrapper-to-integrations
branch
3 times, most recently
from
April 5, 2026 21:16
4069970 to
948dcd7
Compare
Abhijeet Prasad (AbhiPrasad)
requested a review
from Cedric / ViaDézo1er (viadezo1er)
April 7, 2026 13:53
…tion Move OpenAI wrapper tests, cassettes, and tracing code from `wrappers/` into `integrations/openai/`. Split OpenAI Agents SDK tracing processor into its own `integrations/openai_agents/` package with a dedicated `test_openai_agents` nox session. Add new Claude Agent SDK integration under `integrations/` with subprocess transport-level cassette support. The old `wrappers/openai.py` now re-exports `BraintrustTracingProcessor` from the new location for backward compatibility. Test paths in `noxfile.py` are updated to point at the new integration directories.
Abhijeet Prasad (AbhiPrasad)
force-pushed
the
abhi-refactor-migrate-openai-wrapper-to-integrations
branch
from
April 7, 2026 14:31
0608dcb to
3ca3872
Compare
Luca Forstner (lforst)
approved these changes
Apr 7, 2026
Abhijeet Prasad (AbhiPrasad)
deleted the
abhi-refactor-migrate-openai-wrapper-to-integrations
branch
April 7, 2026 14:51
This was referenced Apr 7, 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.
resolves #152
Move OpenAI wrapper tests, cassettes, and tracing code from
wrappers/intointegrations/openai/. Split OpenAI Agents SDK tracing processor into its ownintegrations/openai_agents/package with a dedicatedtest_openai_agentsnox session.Add new Claude Agent SDK integration under
integrations/with subprocess transport-level cassette support.The old
wrappers/openai.pynow re-exportsBraintrustTracingProcessorfrom the new location for backward compatibility. Test paths innoxfile.pyare updated to point at the new integration directories.