| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:4b0b14aa-b95a-9681-5768-b205936fc080 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CFA6:21AC3F:6BE1E1:8C5962:6B00D0F5 |
| html-safe-nonce | 8ffec38cc15d2ccd3518e3b12724877cae5ccccd0a253c5595fd7cfed2115d3a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkE2OjIxQUMzRjo2QkUxRTE6OEM1OTYyOjZCMDBEMEY1IiwidmlzaXRvcl9pZCI6IjY5NjAzMDMzMDg4MTY4MzA3MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1b5448470ba05e188881a784474949638d243aa08ed75cbc35ab70daca5b94ce |
| hovercard-subject-tag | pull_request:3307256189 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5489/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/cc3852fcb7cbaedd58e3191ece6cdc708896391e2457d6f1e4f534b6dfdcdcf5/getsentry/sentry-python/pull/5489 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cc3852fcb7cbaedd58e3191ece6cdc708896391e2457d6f1e4f534b6dfdcdcf5/getsentry/sentry-python/pull/5489 |
| og:image:alt | Description
Avoid consuming single-use iterators passed to the Completions API. The Completions API is typed more liberally than the Responses API and accepts single-use iterators.
Consumable iter... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexander-alderman-webb |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| turbo-cache-control | no-cache |
| go-import | github.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 137814779 |
| octolytics-dimension-repository_nwo | getsentry/sentry-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 137814779 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://redirect.github.com/getsentry/sentry-python/pull/5489#start-of-content |
| https://redirect.github.com/ |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5489 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5489 |
| Sign up | https://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| Reload | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| Reload | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| getsentry | https://redirect.github.com/getsentry |
| sentry-python | https://redirect.github.com/getsentry/sentry-python |
| Code | https://redirect.github.com/getsentry/sentry-python |
| Issues345 (345) | https://redirect.github.com/getsentry/sentry-python/issues |
| Pull requests42 (42) | https://redirect.github.com/getsentry/sentry-python/pulls |
| Discussions | https://redirect.github.com/getsentry/sentry-python/discussions |
| Actions | https://redirect.github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://redirect.github.com/getsentry/sentry-python/security |
| Insights | https://redirect.github.com/getsentry/sentry-python/insights |
| https://redirect.github.com/getsentry/sentry-python |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| master | https://redirect.github.com/getsentry/sentry-python/tree/master |
| webb/stop-consuming-completions-messages | https://redirect.github.com/getsentry/sentry-python/tree/webb/stop-consuming-completions-messages |
| Conversation | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| Commits4 (4) | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits |
| Checks | https://redirect.github.com/getsentry/sentry-python/pull/5489/checks |
| Files changed | https://redirect.github.com/getsentry/sentry-python/pull/5489/files |
| fix(openai): Avoid consuming iterables passed to the Completions API | https://redirect.github.com/getsentry/sentry-python/pull/5489#top |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| master | https://redirect.github.com/getsentry/sentry-python/tree/master |
| webb/stop-consuming-completions-messages | https://redirect.github.com/getsentry/sentry-python/tree/webb/stop-consuming-completions-messages |
|
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| Feb 20, 2026 | https://redirect.github.com/getsentry/sentry-python/pull/5489#issue-3967819643 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| https://github.com/openai/openai-python/blob/3e0c05b84a2056870abf3bd6a5e7849020209cc3/src/openai/_utils/_transform.py#L154 | https://github.com/openai/openai-python/blob/3e0c05b84a2056870abf3bd6a5e7849020209cc3/src/openai/_utils/_transform.py#L154 |
| conventional commit | https://develop.sentry.dev/engineering-practices/commit-messages/#type |
| CONTRIBUTING.md | https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md |
| Sentry SDK development docs | https://develop.sentry.dev/sdk/ |
| Discord community | https://discord.gg/Ww9hbqr |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
|
| https://redirect.github.com/alexander-alderman-webb |
| fix(openai): Avoid consuming iterables passed to Completions API | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/b6eb991b3bfd03ed4c84afa46fc1a0f76cd5b943 |
| b6eb991 | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/b6eb991b3bfd03ed4c84afa46fc1a0f76cd5b943 |
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| code owner | https://redirect.github.com/getsentry/sentry-python/blob/28d9288a42d53f4c54a82866e8207a4c1a0a6b1c/.github/CODEOWNERS#L1 |
| February 20, 2026 10:34 | https://redirect.github.com/getsentry/sentry-python/pull/5489#event-22944678516 |
| https://redirect.github.com/apps/github-actions |
| github-actions | https://redirect.github.com/apps/github-actions |
| Feb 20, 2026 | https://redirect.github.com/getsentry/sentry-python/pull/5489#issuecomment-3932968223 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| https://redirect.github.com/apps/github-actions |
| github-actions | https://redirect.github.com/apps/github-actions |
| Feb 20, 2026 | https://redirect.github.com/getsentry/sentry-python/pull/5489#issuecomment-3932972550 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| Codecov Action | https://github.com/getsentry/codecov-action |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
|
| https://redirect.github.com/alexander-alderman-webb |
| unused type ignore | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/6484710e5d98c2997df3168fa7f970b997867c2c |
| 6484710 | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/6484710e5d98c2997df3168fa7f970b997867c2c |
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| February 20, 2026 13:22 | https://redirect.github.com/getsentry/sentry-python/pull/5489#event-22948698384 |
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| February 20, 2026 13:22 | https://redirect.github.com/getsentry/sentry-python/pull/5489#event-22948698399 |
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| February 20, 2026 13:46 | https://redirect.github.com/getsentry/sentry-python/pull/5489#event-22949263043 |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| February 20, 2026 15:07 | https://redirect.github.com/getsentry/sentry-python/pull/5489#commits-pushed-2b58e65 |
|
| https://redirect.github.com/alexander-alderman-webb |
| add dict edge case | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/2b58e655e3b3d9d4c1c9a10ab7a7eac1d37b6114 |
| 2b58e65 | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/2b58e655e3b3d9d4c1c9a10ab7a7eac1d37b6114 |
|
| https://redirect.github.com/alexander-alderman-webb |
| . | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/ec29f16922af3d19ab580f914f66abf13fb3b48b |
| ec29f16 | https://redirect.github.com/getsentry/sentry-python/pull/5489/commits/ec29f16922af3d19ab580f914f66abf13fb3b48b |
| https://redirect.github.com/ericapisani |
| ericapisani | https://redirect.github.com/ericapisani |
|
Feb 20, 2026
| https://redirect.github.com/getsentry/sentry-python/pull/5489#pullrequestreview-3833415760 |
|
View reviewed changes
| https://redirect.github.com/getsentry/sentry-python/pull/5489/files/ec29f16922af3d19ab580f914f66abf13fb3b48b |
| ericapisani | https://redirect.github.com/ericapisani |
| https://redirect.github.com/getsentry/sentry-python/pull/5489#pullrequestreview-3833415760 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| sentry_sdk/integrations/openai.py | https://redirect.github.com/getsentry/sentry-python/pull/5489/files/ec29f16922af3d19ab580f914f66abf13fb3b48b#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| 594dce5 | https://redirect.github.com/getsentry/sentry-python/commit/594dce5a824e489a8f6f29370f634fb7cd8bb1a5 |
| Feb 23, 2026 | https://github.com/getsentry/sentry-python/pull/5489#event-23001177289 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| https://redirect.github.com/alexander-alderman-webb |
| alexander-alderman-webb | https://redirect.github.com/alexander-alderman-webb |
| February 23, 2026 13:20 | https://redirect.github.com/getsentry/sentry-python/pull/5489#event-23001178387 |
|
publish: getsentry/sentry-python@2.52.0a7
getsentry/publish#7263
| https://redirect.github.com/getsentry/publish/issues/7263 |
|
publish: getsentry/sentry-python@2.54.0
getsentry/publish#7317
| https://redirect.github.com/getsentry/publish/issues/7317 |
| https://github.co/hiddenchars |
| https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://redirect.github.com/join?source=comment-repo |
| Sign in to comment | https://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5489 |
|
| https://redirect.github.com/ericapisani |
|
ericapisani
| https://redirect.github.com/ericapisani |
|
| https://redirect.github.com/getsentry/sentry-python/pull/5489/files/ec29f16922af3d19ab580f914f66abf13fb3b48b |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
| Please reload this page | https://redirect.github.com/getsentry/sentry-python/pull/5489 |
|
| https://redirect.github.com/alexander-alderman-webb |
|
| https://redirect.github.com/ericapisani |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |