Skip to content

feat(mistral): Add integration with Chat.complete and Chat.complete_async patches - #7528

Draft
alexander-alderman-webb wants to merge 5 commits into
masterfrom
webb/mistral/chat-complete
Draft

alexander-alderman-webb wants to merge 5 commits into
masterfrom
webb/mistral/chat-complete

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Description

Add an integration for mistralai, the mistral tox environment, and mistralai to the uv typing group.

Only handle synchronous responses (there is an early return for streaming requests).

Set the gen_ai.provider.name, gen_ai.operation.name and gen_ai.response.streaming attributes.

Issues

Reminders

@alexander-alderman-webb
alexander-alderman-webb added this pull request to stack #7530 September 17, 2026 14:00
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Codecov Results 📊

128226 passed | ⏭️ 7148 skipped | Total: 135374 | Pass Rate: 94.72% | Execution Time: 446m 55s

📊 Comparison with Base Branch

Metric Change
Total Tests 📈 +28
Passed Tests 📈 +11
Failed Tests
Skipped Tests 📈 +17

All tests are passing successfully.

❌ Patch coverage is 43.33%. Project has 2566 uncovered lines.
❌ Project coverage is 90.07%. Comparing base (e09a692) to head (cb02dfa).

Files with missing lines (1)
File Patch % Lines
sentry_sdk/integrations/mistral.py 43.33% ⚠️ 34 Missing
Coverage diff
@@            Coverage Diff             @@
##        master       #PR       +/-##
==========================================
- Coverage    90.21%    90.07%    -0.14%
==========================================
  Files          193       194        +1
  Lines        25773     25833       +60
  Branches      9532      9544       +12
==========================================
+ Hits         23248     23267       +19
- Misses        2525      2566       +41
- Partials      1431      1430        -1

Generated by Codecov Action

Comment thread sentry_sdk/integrations/mistral.py
Comment thread tests/integrations/mistral/test_mistral.py
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.

1 participant