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.system_instructions` by alexander-alderman-webb · Pull Request #7547 · 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 6 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
alexander-alderman-webb added this pull request to stack #7530 September 21, 2026 06:38
@alexander-alderman-webb
feat(mistral): Record gen_ai.system_instructions
03d5fe0
@alexander-alderman-webb
alexander-alderman-webb force-pushed the webb/mistral/input-messages branch from a1d26a1 to 03d5fe0 Compare September 21, 2026 06:39
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.

sentry-warden[bot]
sentry-warden Bot reviewed Sep 21, 2026
View reviewed changes
Comment thread tests/integrations/mistral/test_mistral.py Resolved

Uh oh!

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

@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: 442m 11s

📊 Comparison with Base Branch

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

All tests are passing successfully.

✅ Patch coverage is 95.56%. Project has 2538 uncovered lines.
✅ Project coverage is 90.21%. Comparing base (dbddd0e) to head (ec44c14).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/mistral.py 95.56% ⚠️ 2 Missing and 4 partials
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
+ Coverage    90.20%    90.21%    +0.01%
==========================================
  Files          194       194         —
  Lines        25888     25931       +43
  Branches      9584      9616       +32
==========================================
+ Hits         23352     23393       +41
- 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 4 commits September 21, 2026 08:55
@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
sentry-warden[bot]
sentry-warden Bot reviewed Sep 21, 2026
View reviewed changes
Comment thread tests/integrations/mistral/test_mistral.py Resolved

Uh oh!

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

alexander-alderman-webb added 6 commits September 21, 2026 09:26
@alexander-alderman-webb
sensitive data gating
ca088a2
@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
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:46
sentry-warden[bot]
sentry-warden Bot reviewed Sep 21, 2026
View reviewed changes
Comment thread tests/integrations/mistral/test_mistral.py Resolved

Uh oh!

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

sentrivana
sentrivana approved these changes Sep 21, 2026
View reviewed changes
alexander-alderman-webb added 3 commits September 21, 2026 10:30
@alexander-alderman-webb
take out of auto-enabling
9cc9bef
@alexander-alderman-webb
Merge branch 'webb/mistral/chat-complete' into webb/mistral/tokens
203b691
@alexander-alderman-webb
Merge branch 'webb/mistral/tokens' into webb/mistral/configuration-at…
14a680f
…tributes
@alexander-alderman-webb
Merge branch 'webb/mistral/configuration-attributes' into webb/mistra…
15e7eee
…l/input-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 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 15e7eee. 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 added 12 commits September 21, 2026 10:55
@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
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
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
alexander-alderman-webb removed this pull request from stack #7530 September 21, 2026 10:38
Base automatically changed from webb/mistral/configuration-attributes to master September 21, 2026 11:10
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
run on 3.11 and up
ec44c14
@alexander-alderman-webb
alexander-alderman-webb merged commit ea08f64 into master Sep 21, 2026
314 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/input-messages branch September 21, 2026 13:40
@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.

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.