| 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:676ea661-bf89-f929-13a7-a8ff783ab74a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9186:22A7FA:1855C9:20A12F:6B0082BE |
| html-safe-nonce | 2270c49b89003192a180c5779f18687b78abe9449f5bed2336165776b0d61660 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTg2OjIyQTdGQToxODU1Qzk6MjBBMTJGOjZCMDA4MkJFIiwidmlzaXRvcl9pZCI6IjU4Njk1OTIwNzc2MjAyNDkyNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2f75506f90f9b8cab8f21f2e9c612d3af00e3e129841080f8392423484855ce7 |
| hovercard-subject-tag | pull_request:2884827724 |
| 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/4884/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/edb12831dd18e2ca64253de1fdd1d53c53ac228ea7700e517bab1c91e6647903/getsentry/sentry-python/pull/4884 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/edb12831dd18e2ca64253de1fdd1d53c53ac228ea7700e517bab1c91e6647903/getsentry/sentry-python/pull/4884 |
| og:image:alt | Add a constant that contains the allowed message roles according to OTEL and a mapping
Apply that mapping to all gen_ai integrations
We will track input roles that do not conform to expectations vi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | shellmayr |
| hostname | github.com |
| expected-hostname | github.com |
| None | 82c186f13e104004ab7bdb779f3195e59dd38bfde531aaa74b76470fc2462b83 |
| 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 | d1bc2aa1939001689f5ce935982c10a6138f745c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-python/pull/4884#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4884 |
| 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%2F4884 |
| 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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python |
| Reload | https://github.com/getsentry/sentry-python/pull/4884 |
| Reload | https://github.com/getsentry/sentry-python/pull/4884 |
| Reload | https://github.com/getsentry/sentry-python/pull/4884 |
| 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 requests41 (41) | 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 |
| https://github.com/getsentry/sentry-python |
| shellmayr | https://github.com/shellmayr |
| master | https://github.com/getsentry/sentry-python/tree/master |
| shellmayr/fix/gen_ai-map-message-roles | https://github.com/getsentry/sentry-python/tree/shellmayr/fix/gen_ai-map-message-roles |
| Conversation | https://github.com/getsentry/sentry-python/pull/4884 |
| Commits15 (15) | https://github.com/getsentry/sentry-python/pull/4884/commits |
| Checks | https://github.com/getsentry/sentry-python/pull/4884/checks |
| Files changed | https://github.com/getsentry/sentry-python/pull/4884/files |
| fix(ai): add mapping for gen_ai message roles | https://github.com/getsentry/sentry-python/pull/4884#top |
| shellmayr | https://github.com/shellmayr |
| master | https://github.com/getsentry/sentry-python/tree/master |
| shellmayr/fix/gen_ai-map-message-roles | https://github.com/getsentry/sentry-python/tree/shellmayr/fix/gen_ai-map-message-roles |
|
| https://github.com/shellmayr |
| shellmayr | https://github.com/shellmayr |
| Oct 3, 2025 | https://github.com/getsentry/sentry-python/pull/4884#issue-3480958980 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
|
| https://github.com/shellmayr |
| fix(ai): add mapping for gen_ai message roles | https://github.com/getsentry/sentry-python/pull/4884/commits/ae8e359d9585f197bf010fa276e82c63fc34a296 |
| ae8e359 | https://github.com/getsentry/sentry-python/pull/4884/commits/ae8e359d9585f197bf010fa276e82c63fc34a296 |
| https://github.com/apps/linear |
| linear | https://github.com/apps/linear |
| Oct 3, 2025 | https://github.com/getsentry/sentry-python/pull/4884#issuecomment-3365539713 |
| TET-1077 Map message roles from different SDKs in Agent Monitoring | https://linear.app/getsentry/issue/TET-1077/map-message-roles-from-different-sdks-in-agent-monitoring |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Oct 3, 2025 | https://github.com/getsentry/sentry-python/pull/4884#issuecomment-3365550316 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| Test Analytics Dashboard | https://app.codecov.io/gh/getsentry/sentry-python/tests/shellmayr%2Ffix%2Fgen_ai-map-message-roles |
| Take this short survey | https://forms.gle/22i53Qa1CySZjA6c7 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| shellmayr | https://github.com/shellmayr |
| October 7, 2025 10:56 | https://github.com/getsentry/sentry-python/pull/4884#commits-pushed-f680921 |
|
| https://github.com/shellmayr |
| map openai correctly | https://github.com/getsentry/sentry-python/pull/4884/commits/f680921002c14382131e07b675a3f23d02c7aeed |
| f680921 | https://github.com/getsentry/sentry-python/pull/4884/commits/f680921002c14382131e07b675a3f23d02c7aeed |
|
| https://github.com/shellmayr |
| map openai | https://github.com/getsentry/sentry-python/pull/4884/commits/906da3d622f117a4ed13bc66eb816c2dec40ac54 |
| 906da3d | https://github.com/getsentry/sentry-python/pull/4884/commits/906da3d622f117a4ed13bc66eb816c2dec40ac54 |
|
| https://github.com/shellmayr |
| don't try to convert messages that don't have a role | https://github.com/getsentry/sentry-python/pull/4884/commits/0081cf87733b41145b9c74177aef25d2c2bd0904 |
| 0081cf8 | https://github.com/getsentry/sentry-python/pull/4884/commits/0081cf87733b41145b9c74177aef25d2c2bd0904 |
|
| https://github.com/shellmayr |
| constant | https://github.com/getsentry/sentry-python/pull/4884/commits/e7bf10545980348180eeeae4e54a89b011749037 |
| e7bf105 | https://github.com/getsentry/sentry-python/pull/4884/commits/e7bf10545980348180eeeae4e54a89b011749037 |
|
| https://github.com/shellmayr |
| remove superfluous comments and use the constants everywhere | https://github.com/getsentry/sentry-python/pull/4884/commits/ab4dec0145957180badbe716f88fe8224575ae41 |
| ab4dec0 | https://github.com/getsentry/sentry-python/pull/4884/commits/ab4dec0145957180badbe716f88fe8224575ae41 |
|
| https://github.com/shellmayr |
| fix tool call role name | https://github.com/getsentry/sentry-python/pull/4884/commits/0d7102eb15501ce1c12704b6f18576ca1c62e13e |
| 0d7102e | https://github.com/getsentry/sentry-python/pull/4884/commits/0d7102eb15501ce1c12704b6f18576ca1c62e13e |
| https://github.com/shellmayr |
| shellmayr | https://github.com/shellmayr |
| October 7, 2025 12:07 | https://github.com/getsentry/sentry-python/pull/4884#event-20139344966 |
| https://github.com/shellmayr |
| shellmayr | https://github.com/shellmayr |
| code owner | https://github.com/getsentry/sentry-python/blob/87f8f390eea0ca435a9a6e53747bcf5f844acbd1/.github/CODEOWNERS#L1 |
| October 7, 2025 12:07 | https://github.com/getsentry/sentry-python/pull/4884#event-20139345077 |
| https://github.com/apps/cursor |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4884 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
|
| https://github.com/shellmayr |
| fix missing tool | https://github.com/getsentry/sentry-python/pull/4884/commits/8810ee649c700cf9089db69f0b7af988ffc09398 |
| 8810ee6 | https://github.com/getsentry/sentry-python/pull/4884/commits/8810ee649c700cf9089db69f0b7af988ffc09398 |
| https://github.com/apps/cursor |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4884 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
|
Oct 7, 2025
| https://github.com/getsentry/sentry-python/pull/4884#pullrequestreview-3309852593 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/4884/files/96b3ad699977fec9ee4934793a3930867ea5d9a0 |
| sentrivana | https://github.com/sentrivana |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| https://github.com/getsentry/sentry-python/pull/4884#pullrequestreview-3309852593 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| tests/integrations/anthropic/test_anthropic.py | https://github.com/getsentry/sentry-python/pull/4884/files/8810ee649c700cf9089db69f0b7af988ffc09398#diff-3f015b03855e3bb647b04195c2a27a75ece9eb2c427a13c79a5ab81660a1365d |
| sentrivana | https://github.com/sentrivana |
| Oct 7, 2025 | https://github.com/getsentry/sentry-python/pull/4884#discussion_r2410437083 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| shellmayr | https://github.com/shellmayr |
| Oct 7, 2025 | https://github.com/getsentry/sentry-python/pull/4884#discussion_r2410450386 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| sentrivana | https://github.com/sentrivana |
| October 7, 2025 14:23 | https://github.com/getsentry/sentry-python/pull/4884#commits-pushed-96b3ad6 |
|
| https://github.com/sentrivana |
| Merge branch 'master' into shellmayr/fix/gen_ai-map-message-roles | https://github.com/getsentry/sentry-python/pull/4884/commits/96b3ad699977fec9ee4934793a3930867ea5d9a0 |
| 96b3ad6 | https://github.com/getsentry/sentry-python/pull/4884/commits/96b3ad699977fec9ee4934793a3930867ea5d9a0 |
|
| https://github.com/shellmayr |
| move import up | https://github.com/getsentry/sentry-python/pull/4884/commits/16342b109248fa26e73b7877fe73a12852ad285e |
| 16342b1 | https://github.com/getsentry/sentry-python/pull/4884/commits/16342b109248fa26e73b7877fe73a12852ad285e |
|
| https://github.com/shellmayr |
| add to langchain | https://github.com/getsentry/sentry-python/pull/4884/commits/32862926352c456b4323850dd9b83514132be661 |
| 3286292 | https://github.com/getsentry/sentry-python/pull/4884/commits/32862926352c456b4323850dd9b83514132be661 |
| https://github.com/apps/cursor |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4884 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| shellmayr | https://github.com/shellmayr |
| October 7, 2025 16:18 | https://github.com/getsentry/sentry-python/pull/4884#commits-pushed-eb8c05d |
|
| https://github.com/shellmayr |
| add langchain test | https://github.com/getsentry/sentry-python/pull/4884/commits/eb8c05dfdb013192f03406d75c7cd9f5b0ecb9d5 |
| eb8c05d | https://github.com/getsentry/sentry-python/pull/4884/commits/eb8c05dfdb013192f03406d75c7cd9f5b0ecb9d5 |
|
| https://github.com/shellmayr |
| Merge branch 'master' into shellmayr/fix/gen_ai-map-message-roles | https://github.com/getsentry/sentry-python/pull/4884/commits/0473c7fd86c48d069ba2cb77c7d4658a6543ee29 |
| 0473c7f | https://github.com/getsentry/sentry-python/pull/4884/commits/0473c7fd86c48d069ba2cb77c7d4658a6543ee29 |
|
| https://github.com/shellmayr |
| fix langchain on_llm_start | https://github.com/getsentry/sentry-python/pull/4884/commits/526acf3836093bdbed772fea26300d59cbd17c0f |
| 526acf3 | https://github.com/getsentry/sentry-python/pull/4884/commits/526acf3836093bdbed772fea26300d59cbd17c0f |
| https://github.com/apps/cursor |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4884 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
|
| https://github.com/shellmayr |
| fix naming of tool call const | https://github.com/getsentry/sentry-python/pull/4884/commits/8be69b2facead64f49b6128f8c7e5f59da93ace8 |
| 8be69b2 | https://github.com/getsentry/sentry-python/pull/4884/commits/8be69b2facead64f49b6128f8c7e5f59da93ace8 |
| https://github.com/sentrivana |
| sentrivana | https://github.com/sentrivana |
|
Oct 8, 2025
| https://github.com/getsentry/sentry-python/pull/4884#pullrequestreview-3313963830 |
|
View reviewed changes
| https://github.com/getsentry/sentry-python/pull/4884/files/8be69b2facead64f49b6128f8c7e5f59da93ace8 |
| https://github.com/shellmayr |
| shellmayr | https://github.com/shellmayr |
| b1dd2dc | https://github.com/getsentry/sentry-python/commit/b1dd2dcf3b63c73ab91f25ca217a28cf3ea7f6e9 |
| Oct 8, 2025 | https://github.com/getsentry/sentry-python/pull/4884#event-20160810341 |
| https://github.com/shellmayr |
| shellmayr | https://github.com/shellmayr |
| October 8, 2025 10:41 | https://github.com/getsentry/sentry-python/pull/4884#event-20160810967 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F4884 |
|
| https://github.com/apps/cursor |
|
cursor[bot]
| https://github.com/apps/cursor |
|
| https://github.com/getsentry/sentry-python/pull/4884/files/526acf3836093bdbed772fea26300d59cbd17c0f |
|
| https://github.com/sentrivana |
|
sentrivana
| https://github.com/sentrivana |
|
| https://github.com/getsentry/sentry-python/pull/4884/files/8be69b2facead64f49b6128f8c7e5f59da93ace8 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
| Please reload this page | https://github.com/getsentry/sentry-python/pull/4884 |
|
| https://github.com/shellmayr |
|
| https://github.com/sentrivana |
|
| 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 |