| 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 | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:25c58982-4165-2bfb-d7fd-e39a4f5a523f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BCF0:14700E:40998B:538F1F:6B00D4AA |
| html-safe-nonce | 9350a1e2b1c7407bf8ebd2d43dd678a55a14e0135b7d966bf90001c27c10c456 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQ0YwOjE0NzAwRTo0MDk5OEI6NTM4RjFGOjZCMDBENEFBIiwidmlzaXRvcl9pZCI6IjU3NjA5MzU1NzY4OTk0NzQ2MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf08edbfe53992e6f006e6930ad5fc8a7b7085b154f4960936d97ef4f1b72c2b |
| hovercard-subject-tag | pull_request:2652844035 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/getsentry/sentry-python/pull/4564/files |
| twitter:image | https://avatars.githubusercontent.com/u/202325?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/202325?s=400&v=4 |
| og:image:alt | Add support for the new preferred way of using OpenAI, the /responses API (see https://platform.openai.com/docs/guides/responses-vs-chat-completions)
Also makes sure the current span is captured wh... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/getsentry/sentry-python/pull/4564/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4564%2Ffiles |
| 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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4564%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/4564/files |
| Reload | https://github.com/getsentry/sentry-python/pull/4564/files |
| Reload | https://github.com/getsentry/sentry-python/pull/4564/files |
| getsentry | https://github.com/getsentry |
| sentry-python | https://github.com/getsentry/sentry-python |
| Code | https://github.com/getsentry/sentry-python |
| Issues345 (345) | https://github.com/getsentry/sentry-python/issues |
| Pull requests42 (42) | https://github.com/getsentry/sentry-python/pulls |
| Discussions | https://github.com/getsentry/sentry-python/discussions |
| Actions | https://github.com/getsentry/sentry-python/actions |
| Security and quality2 (2) | https://github.com/getsentry/sentry-python/security |
| Insights | https://github.com/getsentry/sentry-python/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fgetsentry%2Fsentry-python%2Fissues%2Fnew%2Fchoose |
| antonpirker | https://github.com/antonpirker |
| antonpirker/openai-overhaul | https://github.com/getsentry/sentry-python/tree/antonpirker/openai-overhaul |
| antonpirker/openai-responses-api | https://github.com/getsentry/sentry-python/tree/antonpirker/openai-responses-api |
|
Conversation
5
| https://github.com/getsentry/sentry-python/pull/4564 |
|
Commits
22
| https://github.com/getsentry/sentry-python/pull/4564/commits |
|
Checks
0
| https://github.com/getsentry/sentry-python/pull/4564/checks |
|
Files changed
| https://github.com/getsentry/sentry-python/pull/4564/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4564/files |
|
Add support for OpenAi responses API
| https://github.com/getsentry/sentry-python/pull/4564/files#top |
|
Show all changes
22 commits
| https://github.com/getsentry/sentry-python/pull/4564/files |
|
7fc847a
commit from other branch. needs cleanup
antonpirker Jul 9, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/7fc847a7347829b2b93c5d7484e799040851fe4d |
|
762a9ea
Merge branch 'antonpirker/openai-overhaul' into antonpirker/openai-re…
antonpirker Jul 15, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/762a9ea1e7a89b75d8509d17e17cddea6d3bc8c2 |
|
281005f
cleanup
antonpirker Jul 15, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/281005f47da23f997fe25d07ffba4af1ef474d3e |
|
fc2a794
Merge branch 'antonpirker/openai-overhaul' into antonpirker/openai-re…
antonpirker Jul 15, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/fc2a7947da443a1a7ac51eef0d9e85641fa82009 |
|
28ff863
Only patch Respones api when existing (was introduced in v1.66.0)
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/28ff8636da2c78dd1b0618d9e39a9ee845ae9691 |
|
b704bd0
Merge branch 'master' into antonpirker/openai-responses-api
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/b704bd06ef56b218479c05c301ccf074546b21b0 |
|
671b77c
Add tests
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/671b77c93f97856a8f7db53148e8b44d6b6d1d89 |
|
c6b9e3a
Do not run tests in openai versions not supporting responses api
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/c6b9e3ae05e437a90441e3ed628f8833e541adf3 |
|
bf34389
Fix tests
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/bf343890f37cdeb1a4320d6edacd914502d580f2 |
|
369eff3
Test error case
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/369eff3adbc1e2b6e126897f0cf43f4a5bc629b1 |
|
2aa633d
temp
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/2aa633df80b67bde6a55322c72e590972cb6a83f |
|
a7a5af3
Merge branch 'antonpirker/openai-overhaul' into antonpirker/openai-re…
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/a7a5af320510e8bb3b4ae510e08156d7af34c6a0 |
|
1ef2a21
Antonpirker/OpenAI add async (#4603)
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/1ef2a218a991a30eb9699c58327f82fcd04613ab |
|
f2c17e0
rename
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/f2c17e0546b5958e979a1a1d734dbcfbc5e4611c |
|
24d1797
cleanup
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/24d17979abb604da0d9c2cb2e58a8179c43d0083 |
|
64c4120
split out some stuff into separate PR
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/64c4120f67ddf0c7f13553fb6e05c1b2ab150267 |
|
5a55b6a
cleanup
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/5a55b6a6538bf32052c361e8d635a4987262c55e |
|
bef3e36
cleanup
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/bef3e36652a1bcd9b691bf32d94301227ac804d9 |
|
4e16e04
Make sure the span an error occures in is captured
antonpirker Jul 21, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/4e16e04fa32ea1ebfee376116d3f26e27a2df553 |
|
c43f5b4
Test async responses api
antonpirker Jul 23, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/c43f5b4d7a78bf0cf5cd8009a70034b77d213d38 |
|
ac5eeae
Fixed tests
antonpirker Jul 23, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/ac5eeaee0c910a5857866b5cafeb34318f9f6218 |
|
39e06ef
Apply suggestions from code review
antonpirker Jul 23, 2025
| https://github.com/getsentry/sentry-python/pull/4564/commits/39e06ef94cdd7bb1857fd0219fb9bb893476558e |
|
Clear filters
| https://github.com/getsentry/sentry-python/pull/4564/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4564/files |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4564/files |
|
consts.py
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017 |
|
openai.py
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
test_openai.py
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-124250cd315dcdeda25b556b766c5053e3b2870d0b0e23d6b3a35eb639bd24cd |
| sentry_sdk/consts.py | https://github.com/getsentry/sentry-python/pull/4564/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017 |
|
View file
| https://github.com/getsentry/sentry-python/blob/39e06ef94cdd7bb1857fd0219fb9bb893476558e/sentry_sdk/consts.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/4564/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017 |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-719f41f07f1275f8a1b02085180aa234b257226fc976d776ebef5d8dff9db017 |
| sentry_sdk/integrations/openai.py | https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
View file
| https://github.com/getsentry/sentry-python/blob/39e06ef94cdd7bb1857fd0219fb9bb893476558e/sentry_sdk/integrations/openai.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/4564/{{ revealButtonHref }} |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
|
| https://github.com/getsentry/sentry-python/pull/4564/files#diff-8be672624748ac6598fe3d702a6beaf03e1fa6bc3c5f8aeadf68158d401fe34e |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4564/files |
|
| 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 |