GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(mistral): Record `gen_ai.output.messages` by alexander-alderman-webb · Pull Request #7549 · getsentry/sentry-python

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 21, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Description

Handle various output schemas, as shown in the tests.

Issues

Closes #7527

Reminders

  • Please add tests to validate your changes, and lint your code using uv run ruff.
  • Add GH Issue ID & Linear ID (if applicable)
  • PR title should use conventional commit style (feat:, fix:, ref:, meta:)
  • For external contributors: CONTRIBUTING.md, Sentry SDK development docs, Discord community

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
alexander-alderman-webb added 15 commits September 17, 2026 15:42
@alexander-alderman-webb
feat(mistral): Add integration with Chat.complete and Chat.complete_a…
eba2bae
…sync patches
@alexander-alderman-webb
.
4b57f72
@alexander-alderman-webb
.
08b3eb0
@alexander-alderman-webb
.
e5c7c9a
@alexander-alderman-webb
feat(mistral): Record token usage
e07fee8
@alexander-alderman-webb
feat(mistral): Record request parameters
544f550
@alexander-alderman-webb
feat(mistral): Record gen_ai.system_instructions
03d5fe0
@alexander-alderman-webb
feat(mistral): Record gen_ai.input.messages
8e1f0ce
@alexander-alderman-webb
feat(mistral): Record gen_ai.output.messages
e724675
@alexander-alderman-webb
merge master and address comments
cb02dfa
@alexander-alderman-webb
merge
6cc054a
@alexander-alderman-webb
Merge branch 'webb/mistral/tokens' into webb/mistral/configuration-at…
e9d366a
…tributes
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
4006ba1
…l/input-messages
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages' into webb/mistral/input-me…
510e93b
…ssages-2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
75d11fd
…-messages
@github-actions

github-actions Bot commented Sep 21, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Codecov Results 📊

✅ 129634 passed | ⏭️ 7148 skipped | Total: 136782 | Pass Rate: 94.77% | Execution Time: 438m 1s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +256
Passed Tests 📈 +256
Failed Tests —
Skipped Tests —

All tests are passing successfully.

❌ Patch coverage is 65.71%. Project has 2550 uncovered lines.
❌ Project coverage is 90.19%. Comparing base (bdfd68c) to head (969c8e0).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/mistral.py 65.71% ⚠️ 12 Missing and 6 partials
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.20%    90.19%    -0.01%
==========================================
  Files          194       194         —
  Lines        25888     25994      +106
  Branches      9584      9660       +76
==========================================
+ Hits         23352     23444       +92
- Misses        2536      2550       +14
- Partials      1455      1451        -4

Generated by Codecov Action

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

alexander-alderman-webb added 12 commits September 21, 2026 09:26
@alexander-alderman-webb
sensitive data gating
ca088a2
@alexander-alderman-webb
sensitive data gating
7f44ed2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
6187dcf
…-messages
@alexander-alderman-webb
sensitive data gate
1cbfb92
@alexander-alderman-webb
.
4e2b954
@alexander-alderman-webb
.
4b631ad
@alexander-alderman-webb
Merge branch 'webb/mistral/chat-complete' into webb/mistral/tokens
0bca24b
@alexander-alderman-webb
merge
38552dc
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
ebe8ba7
…l/input-messages
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages' into webb/mistral/input-me…
6e85c46
…ssages-2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
6ea3a7d
…-messages
@alexander-alderman-webb
.
b1e5757
@alexander-alderman-webb
alexander-alderman-webb added this pull request to stack #7530 September 21, 2026 07:46
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review September 21, 2026 07:47
alexander-alderman-webb added 14 commits September 21, 2026 11:01
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
101712a
…l/input-messages
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages' into webb/mistral/input-me…
930be7b
…ssages-2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
0ff6f73
…-messages
@alexander-alderman-webb
raise min version to 2.0.5
868ea47
@alexander-alderman-webb
Merge branch 'webb/mistral/chat-complete' into webb/mistral/tokens
e19d1f0
@alexander-alderman-webb
Merge branch 'webb/mistral/tokens' into webb/mistral/configuration-at…
b20f5f0
…tributes
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
fc26917
…l/input-messages
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages' into webb/mistral/input-me…
38f7e39
…ssages-2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
769d2f8
…-messages
@alexander-alderman-webb
test: use high reasoning level
4e885fb
@alexander-alderman-webb
update assertions
f46f2bf
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
3484c62
…l/input-messages
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages' into webb/mistral/input-me…
6ffb3d0
…ssages-2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
4aaa8ef
…-messages
sentry-warden[bot]
sentry-warden Bot reviewed Sep 21, 2026
View reviewed changes
Comment thread sentry_sdk/_types.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@alexander-alderman-webb
alexander-alderman-webb removed this pull request from stack #7530 September 21, 2026 10:38
alexander-alderman-webb added 4 commits September 21, 2026 13:10
@alexander-alderman-webb
merge master
19e8626
@alexander-alderman-webb
check type property
32f61e4
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages' into webb/mistral/input-me…
dac3f9d
…ssages-2
@alexander-alderman-webb
Merge branch 'webb/mistral/input-messages-2' into webb/mistral/output…
7583044
…-messages
cursor[bot]
cursor Bot reviewed Sep 21, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 7583044. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread sentry_sdk/integrations/mistral.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread sentry_sdk/integrations/mistral.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Base automatically changed from webb/mistral/input-messages-2 to master September 21, 2026 14:07
@alexander-alderman-webb
merge master
969c8e0
@alexander-alderman-webb
alexander-alderman-webb enabled auto-merge (squash) September 21, 2026 14:25
sentry-warden[bot]
sentry-warden Bot reviewed Sep 21, 2026
View reviewed changes
Comment thread sentry_sdk/integrations/mistral.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@alexander-alderman-webb
alexander-alderman-webb disabled auto-merge September 21, 2026 14:27
@alexander-alderman-webb
alexander-alderman-webb enabled auto-merge (squash) September 21, 2026 14:31
@alexander-alderman-webb
alexander-alderman-webb merged commit b454d7d into master Sep 21, 2026
312 of 316 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@alexander-alderman-webb
alexander-alderman-webb deleted the webb/mistral/output-messages branch September 21, 2026 14:33
@sentry-release-bot sentry-release-bot Bot mentioned this pull request Sep 22, 2026
publish: getsentry/[email protected] getsentry/publish#9604
Closed
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments
@sentry-warden sentry-warden[bot] sentry-warden[bot] left review comments
@sentrivana sentrivana sentrivana approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Create Mistral integration

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@alexander-alderman-webb @sentrivana
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.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.