ref(openai): Separate sync and async Chat Completions patches by alexander-alderman-webb · Pull Request #6187 · getsentry/sentry-python
Description
Remove generator pattern to allow capturing exception info on AI Client Spans in upcoming PRs.
Issues
Reminders
- Please add tests to validate your changes, and lint your code using
tox -e linters. - 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
Codecov Results 📊
✅ 2254 passed | ⏭️ 260 skipped | Total: 2514 | Pass Rate: 89.66% | Execution Time: 6m 31s
All tests are passing successfully.
❌ Patch coverage is 0.00%. Project has 12696 uncovered lines.
Files with missing lines (1)
| File | Patch % | Lines |
|---|---|---|
openai.py |
4.19% |
Generated by Codecov Action
alexander-alderman-webb
changed the title
ref(openai): Separate sync and async Completions patches
ref(openai): Separate sync and async Chat Completions patches
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.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit a073290. Configure here.
This was referenced
