Skip to content

fix(dspy): add adapter callback tracing#190

Open
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits intomainfrom
abhi-fix-176-dspy-adapter-callbacks
Open

fix(dspy): add adapter callback tracing#190
Abhijeet Prasad (AbhiPrasad) wants to merge 2 commits intomainfrom
abhi-fix-176-dspy-adapter-callbacks

Conversation

@AbhiPrasad
Copy link
Copy Markdown
Member

Implement DSPy adapter format and parse callbacks in BraintrustDSpyCallback so adapter-level prompt formatting and output parsing are traced alongside module and LM spans.

Add focused tests for the new adapter spans and extend the end-to-end DSPy integration test to assert the new callback coverage.

Closes #176

Implement DSPy adapter format and parse callbacks in BraintrustDSpyCallback so adapter-level prompt formatting and output parsing are traced alongside module and LM spans.

Add focused tests for the new adapter spans and extend the end-to-end DSPy integration test to assert the new callback coverage.

Closes #176
@starfolkai
Copy link
Copy Markdown

starfolkai bot commented Apr 1, 2026

Drop into this review session: sfk devbox connect pr-190-braintrust-sdk-python-8dcb --attach

No serious bugs or issues found 🎉

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.

DSPy: adapter format and parse callbacks not implemented

1 participant