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.input.messages` by alexander-alderman-webb · Pull Request #7548 · 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 input schemas, as shown in the tests.

Issues

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 8 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
alexander-alderman-webb force-pushed the webb/mistral/input-messages-2 branch from 73826d7 to 8e1f0ce Compare September 21, 2026 06:45
alexander-alderman-webb added 2 commits September 21, 2026 08:55
@alexander-alderman-webb
merge master and address comments
cb02dfa
@alexander-alderman-webb
merge
6cc054a
@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 📊

✅ 129378 passed | ⏭️ 7148 skipped | Total: 136526 | Pass Rate: 94.76% | Execution Time: 438m 47s

📊 Comparison with Base Branch

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

All tests are passing successfully.

✅ Patch coverage is 100.00%. Project has 2538 uncovered lines.
✅ Project coverage is 90.22%. Comparing base (ea08f64) to head (56f33cc).

Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
+ Coverage    90.20%    90.22%    +0.02%
==========================================
  Files          194       194         —
  Lines        25888     25959       +71
  Branches      9584      9634       +50
==========================================
+ Hits         23352     23421       +69
- Misses        2536      2538        +2
- Partials      1455      1447        -8

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 11 commits September 21, 2026 08:58
@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
sensitive data gating
ca088a2
@alexander-alderman-webb
sensitive data gating
7f44ed2
@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
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:46
@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner September 21, 2026 07:47
cursor[bot]
cursor Bot reviewed Sep 21, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

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

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.

Stale Bugbot comment from a previous run.

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.

Comment thread tests/integrations/mistral/test_mistral.py Resolved

Uh oh!

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

@alexander-alderman-webb
fix assistant message recording
9391c09
sentrivana
sentrivana approved these changes Sep 21, 2026
View reviewed changes

@sentrivana sentrivana left a comment

Copy link
Copy Markdown
Collaborator

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.

Looks good, see two small comments

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.

@alexander-alderman-webb
take out of auto-enabling
9cc9bef
alexander-alderman-webb added 14 commits September 21, 2026 10:32
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
15e7eee
…l/input-messages
@alexander-alderman-webb
use role var
7f5e00c
@alexander-alderman-webb
add assistant message to tests
bd4fbeb
@alexander-alderman-webb
handle None Model
e21572c
@alexander-alderman-webb
generate GH workflows
ae22b23
@alexander-alderman-webb
Merge branch 'webb/mistral/chat-complete' into webb/mistral/tokens
eb04a75
@alexander-alderman-webb
Merge branch 'webb/mistral/tokens' into webb/mistral/configuration-at…
6bb297f
…tributes
@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
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
cursor[bot]
cursor Bot reviewed Sep 21, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

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

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.

Stale Bugbot comment from a previous run.

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.

alexander-alderman-webb added 4 commits September 21, 2026 11:19
@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
alexander-alderman-webb removed this pull request from stack #7530 September 21, 2026 10:38
alexander-alderman-webb added 3 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
Base automatically changed from webb/mistral/input-messages to master September 21, 2026 13:40
alexander-alderman-webb added 2 commits September 21, 2026 15:43
@alexander-alderman-webb
merge master
11fb6e1
@alexander-alderman-webb
check type
56f33cc
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 1 potential issue.

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 56f33cc. 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.

@alexander-alderman-webb
alexander-alderman-webb merged commit bdfd68c into master Sep 21, 2026
161 checks passed

Uh oh!

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

@alexander-alderman-webb
alexander-alderman-webb deleted the webb/mistral/input-messages-2 branch September 21, 2026 14:07
@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
@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.

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.