Repository navigation
feat(anthropic): Record reasoning parts in nonstreaming output - #8192
Merged
Merged
Conversation
alexander-alderman-webb
force-pushed
the
webb/anthropic/reasoning
branch
3 times, most recently
from
November 5, 2026 08:03
04ebcdc to
a5d6045
Compare
Contributor
Coverage Results 📊✅ 137214 passed | ⏭️ 7456 skipped | Total: 144670 | Pass Rate: 94.85% | Execution Time: 461m 25s 📊 Comparison with Base Branch
✨ Test counts unchanged from base. All tests are passing successfully. ✅ Patch coverage is 100.00% (8 of 8 changed executable lines covered; target 80%). Changed files with executable lines (1)
Coverage diff@@ Coverage Diff @@
## master #8192 +/-##
==========================================
Coverage 90.33% 90.33% —%
==========================================
Files 203 203 —
Tracked lines 26905 26910 +5
Branches 10048 10050 +2
==========================================
+ Hits 24302 24307 +5
Misses 2603 2603 —
Partials 1516 1516 —Generated by Coverage Action |
alexander-alderman-webb
marked this pull request as ready for review
November 5, 2026 08:20
alexander-alderman-webb
force-pushed
the
webb/anthropic/reasoning
branch
from
November 5, 2026 08:49
a5d6045 to
224885d
Compare
sentrivana
approved these changes
Nov 5, 2026
6 tasks done
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.
Description
Based on the example in
sentry-conventionsforgen_ai.output.messages:https://github.com/getsentry/sentry-conventions/blob/main/model/attributes/gen_ai/gen_ai__output__messages.json
Extend
EXAMPLE_MESSAGEto return a thinking part when a supported library version is installed.Stops re-using
EXAMPLE_MESSAGEin streaming responses and creates two fixtures to reduce duplication among streaming responses in tests.Issues
Closes PY-3055
Reminders
uv run ruff.feat:,fix:,ref:,meta:)