◐ Shell
clean mode source ↗

ref(openai): Separate sync and async Chat Completions patches by alexander-alderman-webb · Pull Request #6187 · getsentry/sentry-python

@alexander-alderman-webb

Description

Remove generator pattern to allow capturing exception info on AI Client Spans in upcoming PRs.

Issues

Reminders

@github-actions

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% ⚠️ 663 Missing

Generated by Codecov Action

@alexander-alderman-webb alexander-alderman-webb changed the title ref(openai): Separate sync and async Completions patches ref(openai): Separate sync and async Chat Completions patches

May 4, 2026

cursor[bot]

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 a073290. Configure here.

sentrivana

This was referenced

May 8, 2026