Title: Discriminate `anthropic` response based on type property · Issue #5939 · getsentry/sentry-python · GitHub
Open Graph Title: Discriminate `anthropic` response based on type property · Issue #5939 · getsentry/sentry-python
X Title: Discriminate `anthropic` response based on type property · Issue #5939 · getsentry/sentry-python
Description: Anthropic returns a union of types based on the type property. #5715 (comment) The desired outcome is to access information required on AI Client Spans based on concrete response types based on the type property rather than probing the r...
Open Graph Description: Anthropic returns a union of types based on the type property. #5715 (comment) The desired outcome is to access information required on AI Client Spans based on concrete response types based on the...
X Description: Anthropic returns a union of types based on the type property. #5715 (comment) The desired outcome is to access information required on AI Client Spans based on concrete response types based on the...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/5939
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Discriminate `anthropic` response based on type property","articleBody":"Anthropic returns a union of types based on the `type` property.\n\nhttps://github.com/getsentry/sentry-python/pull/5715#discussion_r3027583313\n\nThe desired outcome is to access information required on AI Client Spans based on concrete response types based on the `type` property rather than probing the response object. Narrow down the type and then we can see based on the properties that exist on the response type which branches can be removed","author":{"url":"https://github.com/alexander-alderman-webb","@type":"Person","name":"alexander-alderman-webb"},"datePublished":"2026-04-02T12:10:44Z","url":"https://github.com/getsentry/sentry-python/issues/5939"}
| 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/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7e41061a-416b-fc3a-2758-9645c3a00fe5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E418:24FC21:424FC2:56DBC9:6B00C7A0 |
| html-safe-nonce | ae27443f741ec438908b3c0244533e6b74ba0fd7386e000ae32dfcc47f6f1243 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNDE4OjI0RkMyMTo0MjRGQzI6NTZEQkM5OjZCMDBDN0EwIiwidmlzaXRvcl9pZCI6IjI0MDAyMTc1Mjk5OTQ3NTgwNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 71a2dcc6031d171bee0c06c508b21f0e56e160580e8635ae0024af745664755a |
| hovercard-subject-tag | issue:4194179094 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-python/5939/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f4415cf3e81babe38c586f9dbd46c39d9ec70c7db838a226dfe212051fd3f422/getsentry/sentry-python/issues/5939 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f4415cf3e81babe38c586f9dbd46c39d9ec70c7db838a226dfe212051fd3f422/getsentry/sentry-python/issues/5939 |
| og:image:alt | Anthropic returns a union of types based on the type property. #5715 (comment) The desired outcome is to access information required on AI Client Spans based on concrete response types based on the... |
| 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 | 98dc00e171c204462a6f367482a0f8c3c6b5dbca99cd7390e82d2df49ce096e4 |
| turbo-cache-control | no-preview |
| 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 | ef013399cf0a3c324bea644a685d7c1e0f06b5b7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width