René's URL Explorer Experiment


Title: fix(openai): Only wrap types with _iterator for streamed responses by alexander-alderman-webb · Pull Request #5917 · getsentry/sentry-python · GitHub

Open Graph Title: fix(openai): Only wrap types with _iterator for streamed responses by alexander-alderman-webb · Pull Request #5917 · getsentry/sentry-python

X Title: fix(openai): Only wrap types with _iterator for streamed responses by alexander-alderman-webb · Pull Request #5917 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description Only wrap streaming responses when the _iterator attribute is defined on the returned object. Create separate functions for wrapping synchronous and asynchronous Completions and Respon...

X Description: Description Only wrap streaming responses when the _iterator attribute is defined on the returned object. Create separate functions for wrapping synchronous and asynchronous Completions and Respon...

Opengraph URL: https://github.com/getsentry/sentry-python/pull/5917

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:122140a9-e82e-baf9-d411-77c86d1f71e8
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC058:16213B:C64BA:10653E:6B00B9FC
html-safe-nonce24b9ab9c73674cb5c4132f83a7c758ae6e37f724af93c4560867c1f1d1aeffef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDU4OjE2MjEzQjpDNjRCQToxMDY1M0U6NkIwMEI5RkMiLCJ2aXNpdG9yX2lkIjoiODE4MTMzMDUwOTI2ODMwMjMzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac065a3b0d51e4210917d95adb78f499ece18cae59bef8360373d3f5c47b8bd97f
hovercard-subject-tagpull_request:3465271915
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/5917/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/94c3f679713d002cfee372e27e8550cc0740e22385509a2b7ea017ec427a874f/getsentry/sentry-python/pull/5917
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/94c3f679713d002cfee372e27e8550cc0740e22385509a2b7ea017ec427a874f/getsentry/sentry-python/pull/5917
og:image:altDescription Only wrap streaming responses when the _iterator attribute is defined on the returned object. Create separate functions for wrapping synchronous and asynchronous Completions and Respon...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexander-alderman-webb
hostnamegithub.com
expected-hostnamegithub.com
None1d07c25977adfc5ff6acb0a962a9bc168c07afbda6fef765f9761c350c2ae4a2
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5429cbfc6aca8c7b9a086a3c8f47400346f38cc9
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/5917#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5917
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5917
Sign uphttps://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
Reloadhttps://github.com/getsentry/sentry-python/pull/5917
Reloadhttps://github.com/getsentry/sentry-python/pull/5917
Reloadhttps://github.com/getsentry/sentry-python/pull/5917
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/openai/only-wrap-streamshttps://github.com/getsentry/sentry-python/tree/webb/openai/only-wrap-streams
Conversationhttps://github.com/getsentry/sentry-python/pull/5917
Commits8 (8)https://github.com/getsentry/sentry-python/pull/5917/commits
Checkshttps://github.com/getsentry/sentry-python/pull/5917/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/5917/files
fix(openai): Only wrap types with _iterator for streamed responseshttps://github.com/getsentry/sentry-python/pull/5917#top
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
masterhttps://github.com/getsentry/sentry-python/tree/master
webb/openai/only-wrap-streamshttps://github.com/getsentry/sentry-python/tree/webb/openai/only-wrap-streams
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 30, 2026https://github.com/getsentry/sentry-python/pull/5917#issue-4168971247
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
#5890https://github.com/getsentry/sentry-python/issues/5890
conventional commithttps://develop.sentry.dev/engineering-practices/commit-messages/#type
CONTRIBUTING.mdhttps://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md
Sentry SDK development docshttps://develop.sentry.dev/sdk/
Discord communityhttps://discord.gg/Ww9hbqr
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 30, 2026 11:05https://github.com/getsentry/sentry-python/pull/5917#commits-pushed-29b8891
https://github.com/alexander-alderman-webb
fix(openai): Only wrap types with _iterator for streamed responseshttps://github.com/getsentry/sentry-python/pull/5917/commits/29b8891f149769db9208e0acf7ebcc64f716d732
29b8891https://github.com/getsentry/sentry-python/pull/5917/commits/29b8891f149769db9208e0acf7ebcc64f716d732
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5917/commits/0ab8c46b8b15a881958f1d87d00b152dbee200f1
0ab8c46https://github.com/getsentry/sentry-python/pull/5917/commits/0ab8c46b8b15a881958f1d87d00b152dbee200f1
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 30, 2026https://github.com/getsentry/sentry-python/pull/5917#issuecomment-4153444870
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
Add experimental async transport #4572https://github.com/getsentry/sentry-python/pull/4572
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 30, 2026https://github.com/getsentry/sentry-python/pull/5917#issuecomment-4153450926
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/apps/sentry-warden
sentry-wardenhttps://github.com/apps/sentry-warden
Mar 30, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4029153776
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/0ab8c46b8b15a881958f1d87d00b152dbee200f1
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/0ab8c46b8b15a881958f1d87d00b152dbee200f1#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/apps/sentry-warden
sentry-wardenhttps://github.com/apps/sentry-warden
Mar 30, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4029153945
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/0ab8c46b8b15a881958f1d87d00b152dbee200f1
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/0ab8c46b8b15a881958f1d87d00b152dbee200f1#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 30, 2026 11:15https://github.com/getsentry/sentry-python/pull/5917#commits-pushed-510b320
https://github.com/alexander-alderman-webb
docs and stop overwriting start_timehttps://github.com/getsentry/sentry-python/pull/5917/commits/510b32063b1cefd560224537b5b6342c1644f116
510b320https://github.com/getsentry/sentry-python/pull/5917/commits/510b32063b1cefd560224537b5b6342c1644f116
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5917/commits/1a24a66153699191f6cf52c143c6529eb8a7dc5b
1a24a66https://github.com/getsentry/sentry-python/pull/5917/commits/1a24a66153699191f6cf52c143c6529eb8a7dc5b
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 30, 2026 09:30https://github.com/getsentry/sentry-python/pull/5917#event-24028467813
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
code ownerhttps://github.com/getsentry/sentry-python/blob/b8a4945b7308d79a10c1ae316599f7350b31cc83/.github/CODEOWNERS#L1
March 30, 2026 09:30https://github.com/getsentry/sentry-python/pull/5917#event-24028468244
https://github.com/apps/sentry
sentryhttps://github.com/apps/sentry
Mar 30, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4029265779
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/1a24a66153699191f6cf52c143c6529eb8a7dc5b
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/1a24a66153699191f6cf52c143c6529eb8a7dc5b#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 30, 2026 09:41https://github.com/getsentry/sentry-python/pull/5917#event-24028847104
https://github.com/apps/cursor
cursorhttps://github.com/apps/cursor
Mar 30, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4029315431
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/1a24a66153699191f6cf52c143c6529eb8a7dc5b
cursorhttps://github.com/apps/cursor
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4029315431
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?data=eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImJ1Z2JvdC12MiJ9.eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9BTExfSU5fQ1VSU09SIiwiZGF0YSI6eyJyZWRpc0tleSI6ImJ1Z2JvdC1tdWx0aTpjYTkzYjQwMi1kZTdhLTRmMGEtYmRjOS00YmJjMWRhMzgyMWMiLCJlbmNyeXB0aW9uS2V5IjoiTENpVE5aVkxNSFRKUXFfbzNySThWYWJZVjdGS2plTUhsVGJmeWFQbE9zYyIsImJyYW5jaCI6IndlYmIvb3BlbmFpL29ubHktd3JhcC1zdHJlYW1zIiwicmVwb093bmVyIjoiZ2V0c2VudHJ5IiwicmVwb05hbWUiOiJzZW50cnktcHl0aG9uIn0sImlhdCI6MTc3NDg2MzcxOSwiZXhwIjoxNzc3NDU1NzE5fQ.PytJtqUz4RO5-SGsmn2x51xxvFilY9jwuPaoZbxtAbb07Sexwk3Xv9TGVBhFkVtlR34jJJi5NECmaemrGkKmOp9bGGObOIB8c1b028zipPQyJRc9XFX_HDmGFHQ9naXpfdBIfuhVEJgcBGOFYyXFprJVZdecXryrmZhq_J57fM_Yc-Nc00dBg-nr0eEOpQizS_RxrdM6TbFx-O6CZulZjJ731n2GlbshDH6rdtVsqDQy_CljbiJM-ekgjPmL4bguZFpzp5Rv5tj5hbgFO8rZdqmMAPLzmmx5rT6zh7i1-h8C2AI7CB5Iw8YtVlehpblmPihVmF-C1T-5q6B-ht6EGw
Bugbot Autofixhttps://cursor.com/docs/bugbot#autofix
https://github.com/getsentry/sentry-python/compare/webb/openai/only-wrap-streams...cursor/openai-streaming-span-leak-7eaa?expand=1&title=OpenAI%20streaming%20span%20leak&body=%23%23%23%20Description%0AThis%20PR%20fixes%20a%20span%20leak%20in%20the%20OpenAI%20integration.%20Previously%2C%20when%20handling%20streaming%20responses%20that%20were%20neither%20%60Stream%60%20nor%20%60AsyncStream%60%2C%20the%20span%20opened%20for%20the%20operation%20would%20not%20be%20properly%20closed.%20This%20change%20introduces%20a%20fallback%20mechanism%20to%20ensure%20that%20spans%20are%20always%20closed%2C%20preventing%20resource%20leaks%20for%20unrecognized%20streaming%20response%20types.%0A%0A%23%23%23%23%20Issues%0A*%20Addresses%3A%20%601fa7e172-4059-408d-aaf4-46763f6d02ae%60%20(Span%20never%20closed%20for%20unrecognized%20streaming%20response%20types)%0A%0A%23%23%23%23%20Reminders%0A-%20Please%20add%20tests%20to%20validate%20your%20changes%2C%20and%20lint%20your%20code%20using%20%60tox%20-e%20linters%60.%0A-%20Add%20GH%20Issue%20ID%20_%26_%20Linear%20ID%20(if%20applicable)%0A-%20PR%20title%20should%20use%20%5Bconventional%20commit%5D(https%3A%2F%2Fdevelop.sentry.dev%2Fengineering-practices%2Fcommit-messages%2F%23type)%20style%20(%60feat%3A%60%2C%20%60fix%3A%60%2C%20%60ref%3A%60%2C%20%60meta%3A%60)%0A-%20For%20external%20contributors%3A%20%5BCONTRIBUTING.md%5D(https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fblob%2Fmaster%2FCONTRIBUTING.md)%2C%20%5BSentry%20SDK%20development%20docs%5D(https%3A%2F%2Fdevelop.sentry.dev%2Fsdk%2F)%2C%20%5BDiscord%20community%5D(https%3A%2F%2Fdiscord.gg%2FWw9hbqr)
52cc4b9c5ehttps://github.com/getsentry/sentry-python/commit/52cc4b9c5e
Cursor dashboardhttps://www.cursor.com/dashboard?tab=bugbot
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/1a24a66153699191f6cf52c143c6529eb8a7dc5b#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/alexander-alderman-webb
remove indirectionhttps://github.com/getsentry/sentry-python/pull/5917/commits/301b9c8496cc1b36e35fbb04f41a1b90607fb452
301b9c8https://github.com/getsentry/sentry-python/pull/5917/commits/301b9c8496cc1b36e35fbb04f41a1b90607fb452
https://github.com/apps/sentry-warden
sentry-wardenhttps://github.com/apps/sentry-warden
Mar 30, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4029459301
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/301b9c8496cc1b36e35fbb04f41a1b90607fb452
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/301b9c8496cc1b36e35fbb04f41a1b90607fb452#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/alexander-alderman-webb
stop checking isinstance twicehttps://github.com/getsentry/sentry-python/pull/5917/commits/7b7bd060b7b95d330f1bc1a2cf1d58a6e7f548c0
7b7bd06https://github.com/getsentry/sentry-python/pull/5917/commits/7b7bd060b7b95d330f1bc1a2cf1d58a6e7f548c0
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 30, 2026 11:40https://github.com/getsentry/sentry-python/pull/5917#event-24032644935
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Mar 31, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4035347991
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/7b7bd060b7b95d330f1bc1a2cf1d58a6e7f548c0
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/7b7bd060b7b95d330f1bc1a2cf1d58a6e7f548c0#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
sentrivanahttps://github.com/sentrivana
Mar 31, 2026https://github.com/getsentry/sentry-python/pull/5917#discussion_r3014100581
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Mar 31, 2026https://github.com/getsentry/sentry-python/pull/5917#discussion_r3014478788
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/openai/openai-python/blob/58184ad545ee2abd98e171ee09766f259d7f38cd/src/openai/_base_client.py#L1162https://github.com/openai/openai-python/blob/58184ad545ee2abd98e171ee09766f259d7f38cd/src/openai/_base_client.py#L1162
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/sentrivana
sentrivanahttps://github.com/sentrivana
Mar 31, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4035362137
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/7b7bd060b7b95d330f1bc1a2cf1d58a6e7f548c0
sentrivanahttps://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4035362137
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 31, 2026 10:57https://github.com/getsentry/sentry-python/pull/5917#commits-pushed-e25afa7
https://github.com/alexander-alderman-webb
add attribute checkhttps://github.com/getsentry/sentry-python/pull/5917/commits/e25afa76d13b2655903cfb5e1d2039625ee096ef
e25afa7https://github.com/getsentry/sentry-python/pull/5917/commits/e25afa76d13b2655903cfb5e1d2039625ee096ef
https://github.com/alexander-alderman-webb
.https://github.com/getsentry/sentry-python/pull/5917/commits/88edfcddaf7f729d8facee6ee75e3a6d4953850f
88edfcdhttps://github.com/getsentry/sentry-python/pull/5917/commits/88edfcddaf7f729d8facee6ee75e3a6d4953850f
https://github.com/apps/sentry-warden
sentry-wardenhttps://github.com/apps/sentry-warden
Mar 31, 2026 https://github.com/getsentry/sentry-python/pull/5917#pullrequestreview-4035829307
View reviewed changes https://github.com/getsentry/sentry-python/pull/5917/files/e25afa76d13b2655903cfb5e1d2039625ee096ef
sentry_sdk/integrations/openai.pyhttps://github.com/getsentry/sentry-python/pull/5917/files/e25afa76d13b2655903cfb5e1d2039625ee096ef#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
ae28669https://github.com/getsentry/sentry-python/commit/ae2866923f9a4e2046f54e86c9151a937986ac27
Mar 31, 2026https://github.com/getsentry/sentry-python/pull/5917#event-24067573758
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
March 31, 2026 09:21https://github.com/getsentry/sentry-python/pull/5917#event-24067575162
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Mar 31, 2026 https://github.com/getsentry/sentry-python/pull/5917#ref-issue-4177537523
publish: getsentry/sentry-python@2.57.0 getsentry/publish#7650 https://github.com/getsentry/publish/issues/7650
mgalignianahttps://github.com/mgaligniana
Aug 9, 2026 https://github.com/getsentry/sentry-python/pull/5917#ref-commit-7e9aaca
https://github.com/alexander-alderman-webb
https://github.com/mgaligniana
fix(openai): Only wrap types with _iterator for streamed responses (https://github.com/mgaligniana/sentry-python/commit/7e9aaca54898a23d6d9b59e132d11720f5e92194
g…https://github.com/getsentry/sentry-python/pull/5917
7e9aacahttps://github.com/mgaligniana/sentry-python/commit/7e9aaca54898a23d6d9b59e132d11720f5e92194
…etsentry#5917https://github.com/getsentry/sentry-python/pull/5917
getsentry#5890https://github.com/getsentry/sentry-python/issues/5890
https://github.com/chrikrah
chrikrahhttps://github.com/chrikrah
Oct 14, 2026 https://github.com/getsentry/sentry-python/pull/5917#ref-pullrequest-5855522686
fix(integrations): record output for with_raw_response and with_streaming_response #8039 https://github.com/getsentry/sentry-python/pull/8039
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5917
https://github.com/apps/sentry
sentry[bot] https://github.com/apps/sentry
https://github.com/getsentry/sentry-python/pull/5917/files/1a24a66153699191f6cf52c143c6529eb8a7dc5b
https://github.com/apps/cursor
cursor[bot] https://github.com/apps/cursor
https://github.com/getsentry/sentry-python/pull/5917/files/1a24a66153699191f6cf52c143c6529eb8a7dc5b
https://github.com/apps/sentry-warden
sentry-warden[bot] https://github.com/apps/sentry-warden
https://github.com/getsentry/sentry-python/pull/5917/files/e25afa76d13b2655903cfb5e1d2039625ee096ef
https://github.com/sentrivana
sentrivana https://github.com/sentrivana
https://github.com/getsentry/sentry-python/pull/5917/files/7b7bd060b7b95d330f1bc1a2cf1d58a6e7f548c0
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
OpenAIIntegration breaks litellm streaming — LegacyAPIResponse wraps Stream objects https://github.com/getsentry/sentry-python/issues/5890
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/5917
https://github.com/alexander-alderman-webb
https://github.com/sentrivana
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.