Title: Add `enableTruncation` option to OpenAI integration · Issue #20135 · getsentry/sentry-javascript · GitHub
Open Graph Title: Add `enableTruncation` option to OpenAI integration · Issue #20135 · getsentry/sentry-javascript
X Title: Add `enableTruncation` option to OpenAI integration · Issue #20135 · getsentry/sentry-javascript
Description: Add an enableTruncation option to the OpenAI integration that controls whether input messages are truncated before being stored as span attributes. Should default to true to preserve current behavior.
Open Graph Description: Add an enableTruncation option to the OpenAI integration that controls whether input messages are truncated before being stored as span attributes. Should default to true to preserve current behavior.
X Description: Add an enableTruncation option to the OpenAI integration that controls whether input messages are truncated before being stored as span attributes. Should default to true to preserve current behavior.
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/20135
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `enableTruncation` option to OpenAI integration","articleBody":"Add an `enableTruncation` option to the OpenAI integration that controls whether input messages are truncated before being stored as span attributes. Should default to `true` to preserve current behavior.","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-04-09T07:55:48Z","url":"https://github.com/getsentry/sentry-javascript/issues/20135"}
| 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:624c2336-a1d3-8ebe-083d-af7aaa1affa9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A3AC:143847:2B0AFA:3B9C55:6B04B453 |
| html-safe-nonce | ee8ae863c1c8fe94b487f3aa5cc24668234864fc1b085e903c3905f68c8ace48 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0FDOjE0Mzg0NzoyQjBBRkE6M0I5QzU1OjZCMDRCNDUzIiwidmlzaXRvcl9pZCI6IjE1MjQwOTg3NjA1ODA1NzYzMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 10cb0dcfca36a6f24d7e1c0b2a71428ed07d8a3bd887e01a382459f1dac49237 |
| hovercard-subject-tag | issue:4230515324 |
| 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-javascript/20135/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0ac5210f695f3424cb7f8a0611d002b9928a9a72884d583b0a5f7faca823b75b/getsentry/sentry-javascript/issues/20135 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0ac5210f695f3424cb7f8a0611d002b9928a9a72884d583b0a5f7faca823b75b/getsentry/sentry-javascript/issues/20135 |
| og:image:alt | Add an enableTruncation option to the OpenAI integration that controls whether input messages are truncated before being stored as span attributes. Should default to true to preserve current behavior. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| hostname | github.com |
| expected-hostname | github.com |
| None | 378bd702ac792b3550e484ad39d9a898fcd25bb52ba6962b0c9cc457c1ea71c7 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| 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 | b032e77f1ea437ede6c115446a0a467709b468e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width