René's URL Explorer Experiment


Title: fix(langchain): Wrap finish_reason in array for gen_ai span attribute by ericapisani · Pull Request #5666 · getsentry/sentry-python · GitHub

Open Graph Title: fix(langchain): Wrap finish_reason in array for gen_ai span attribute by ericapisani · Pull Request #5666 · getsentry/sentry-python

X Title: fix(langchain): Wrap finish_reason in array for gen_ai span attribute by ericapisani · Pull Request #5666 · 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: The gen_ai.response.finish_reasons attribute should be an array of strings per the semantic convention. Wrap the single finish_reason value in a list before setting the span data. Resolves #5664 an...

X Description: The gen_ai.response.finish_reasons attribute should be an array of strings per the semantic convention. Wrap the single finish_reason value in a list before setting the span data. Resolves #5664 an...

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

X: @github

direct link

Domain: redirect.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:21e1e5c9-436c-cb85-11c9-37572df2560f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC184:2270F4:569EDF:751A8F:6B00D100
html-safe-nonce17d7352305901abbb172d260ef3da37b821b878075e2af67c676014768051629
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTg0OjIyNzBGNDo1NjlFREY6NzUxQThGOjZCMDBEMTAwIiwidmlzaXRvcl9pZCI6IjcyMjc4MTA3NzcwMDI5ODc3NzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmace5e3d58c728648b399f6d222dd0d7e29d2696e75702b4f0298bace53c828b665
hovercard-subject-tagpull_request:3395848163
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/5666/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a8517bb98e45a8c595de0b7e8daaa2e1e67d7882df912619bdc4aa5809ca7285/getsentry/sentry-python/pull/5666
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a8517bb98e45a8c595de0b7e8daaa2e1e67d7882df912619bdc4aa5809ca7285/getsentry/sentry-python/pull/5666
og:image:altThe gen_ai.response.finish_reasons attribute should be an array of strings per the semantic convention. Wrap the single finish_reason value in a list before setting the span data. Resolves #5664 an...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameericapisani
hostnamegithub.com
expected-hostnamegithub.com
None85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5
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
release4943239a6d2c591325dad6e5c313e1cafda877f6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://redirect.github.com/getsentry/sentry-python/pull/5666#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5666
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5666
Sign uphttps://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
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5666
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5666
Reloadhttps://redirect.github.com/getsentry/sentry-python/pull/5666
getsentryhttps://redirect.github.com/getsentry
sentry-pythonhttps://redirect.github.com/getsentry/sentry-python
Codehttps://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
Discussionshttps://redirect.github.com/getsentry/sentry-python/discussions
Actionshttps://redirect.github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://redirect.github.com/getsentry/sentry-python/security
Insightshttps://redirect.github.com/getsentry/sentry-python/insights
https://redirect.github.com/getsentry/sentry-python
ericapisanihttps://redirect.github.com/ericapisani
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
ep/py-2139-fix-format-of-finish-reason-94shttps://redirect.github.com/getsentry/sentry-python/tree/ep/py-2139-fix-format-of-finish-reason-94s
Conversationhttps://redirect.github.com/getsentry/sentry-python/pull/5666
Commits1 (1)https://redirect.github.com/getsentry/sentry-python/pull/5666/commits
Checkshttps://redirect.github.com/getsentry/sentry-python/pull/5666/checks
Files changedhttps://redirect.github.com/getsentry/sentry-python/pull/5666/files
fix(langchain): Wrap finish_reason in array for gen_ai span attributehttps://redirect.github.com/getsentry/sentry-python/pull/5666#top
ericapisanihttps://redirect.github.com/ericapisani
masterhttps://redirect.github.com/getsentry/sentry-python/tree/master
ep/py-2139-fix-format-of-finish-reason-94shttps://redirect.github.com/getsentry/sentry-python/tree/ep/py-2139-fix-format-of-finish-reason-94s
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
Mar 13, 2026https://redirect.github.com/getsentry/sentry-python/pull/5666#issue-4071966989
#5664https://github.com/getsentry/sentry-python/issues/5664
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/ericapisani
https://redirect.github.com/claude
fix(langchain): Wrap finish_reason in array for gen_ai span attributehttps://redirect.github.com/getsentry/sentry-python/pull/5666/commits/0ae889a4056bd5926f54ca8681f7c17b03767380
0ae889ahttps://redirect.github.com/getsentry/sentry-python/pull/5666/commits/0ae889a4056bd5926f54ca8681f7c17b03767380
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
code ownerhttps://redirect.github.com/getsentry/sentry-python/blob/31ee64adc5f907e891d6ac2a143c15d9212f58cf/.github/CODEOWNERS#L1
March 13, 2026 15:57https://redirect.github.com/getsentry/sentry-python/pull/5666#event-23551636087
https://redirect.github.com/apps/linear-code
linear-codehttps://redirect.github.com/apps/linear-code
Mar 13, 2026https://redirect.github.com/getsentry/sentry-python/pull/5666#issuecomment-4056186315
PY-2139 [Langchain] `GEN_AI_RESPONSE_FINISH_REASONS` needs to be an array of strings in `on_llm_end`https://linear.app/getsentry/issue/PY-2139/langchain-gen-ai-response-finish-reasons-needs-to-be-an-array-of
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 13, 2026https://redirect.github.com/getsentry/sentry-python/pull/5666#issuecomment-4056187906
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/apps/github-actions
github-actionshttps://redirect.github.com/apps/github-actions
Mar 13, 2026https://redirect.github.com/getsentry/sentry-python/pull/5666#issuecomment-4056195186
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
Codecov Actionhttps://github.com/getsentry/codecov-action
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/apps/sentry
sentryhttps://redirect.github.com/apps/sentry
Mar 13, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5666#pullrequestreview-3945164314
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5666/files/0ae889a4056bd5926f54ca8681f7c17b03767380
sentry_sdk/integrations/langchain.pyhttps://redirect.github.com/getsentry/sentry-python/pull/5666/files/0ae889a4056bd5926f54ca8681f7c17b03767380#diff-bba846cf7b623cb617bd628d482cd71fe41160f0cea1f48f321fcf5166472925
sentryhttps://redirect.github.com/apps/sentry
Mar 13, 2026https://redirect.github.com/getsentry/sentry-python/pull/5666#discussion_r2932194601
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webbhttps://redirect.github.com/alexander-alderman-webb
Mar 16, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5666#pullrequestreview-3952473161
View reviewed changes https://redirect.github.com/getsentry/sentry-python/pull/5666/files/0ae889a4056bd5926f54ca8681f7c17b03767380
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
6ea663fhttps://redirect.github.com/getsentry/sentry-python/commit/6ea663f71d404bf7a261f31a22602ed85fb93544
Mar 16, 2026https://github.com/getsentry/sentry-python/pull/5666#event-23605585733
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/ericapisani
ericapisanihttps://redirect.github.com/ericapisani
March 16, 2026 12:22https://redirect.github.com/getsentry/sentry-python/pull/5666#event-23605586843
https://redirect.github.com/apps/sentry-release-bot
sentry-release-bothttps://redirect.github.com/apps/sentry-release-bot
Mar 17, 2026 https://redirect.github.com/getsentry/sentry-python/pull/5666#ref-issue-4088788354
publish: getsentry/sentry-python@2.55.0 getsentry/publish#7485 https://redirect.github.com/getsentry/publish/issues/7485
https://github.co/hiddenchars
https://redirect.github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://redirect.github.com/join?source=comment-repo
Sign in to commenthttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F5666
https://redirect.github.com/apps/sentry
sentry[bot] https://redirect.github.com/apps/sentry
https://redirect.github.com/getsentry/sentry-python/pull/5666/files/0ae889a4056bd5926f54ca8681f7c17b03767380
https://redirect.github.com/alexander-alderman-webb
alexander-alderman-webb https://redirect.github.com/alexander-alderman-webb
https://redirect.github.com/getsentry/sentry-python/pull/5666/files/0ae889a4056bd5926f54ca8681f7c17b03767380
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
[Langchain] GEN_AI_RESPONSE_FINISH_REASONS needs to be an array of strings in on_llm_end https://github.com/getsentry/sentry-python/issues/5664
Please reload this pagehttps://redirect.github.com/getsentry/sentry-python/pull/5666
https://redirect.github.com/ericapisani
https://redirect.github.com/alexander-alderman-webb
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.