Title: Upgrade OpenAI and use the new OMIT convention instead of NOT_GIVEN · Issue #4923 · getsentry/sentry-python · GitHub
Open Graph Title: Upgrade OpenAI and use the new OMIT convention instead of NOT_GIVEN · Issue #4923 · getsentry/sentry-python
X Title: Upgrade OpenAI and use the new OMIT convention instead of NOT_GIVEN · Issue #4923 · getsentry/sentry-python
Description: How do you use Sentry? Self-hosted/on-premise Version 2.41 Steps to Reproduce Upgrade open_ai >= 1.108.1 Invoke a completions.create() with the new Omit Fails on line 212 inside sentry_sdk.integrations.openai.py Expected Result To not tr...
Open Graph Description: How do you use Sentry? Self-hosted/on-premise Version 2.41 Steps to Reproduce Upgrade open_ai >= 1.108.1 Invoke a completions.create() with the new Omit Fails on line 212 inside sentry_sdk.integrat...
X Description: How do you use Sentry? Self-hosted/on-premise Version 2.41 Steps to Reproduce Upgrade open_ai >= 1.108.1 Invoke a completions.create() with the new Omit Fails on line 212 inside sentry_sdk.integ...
Opengraph URL: https://github.com/getsentry/sentry-python/issues/4923
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Upgrade OpenAI and use the new OMIT convention instead of NOT_GIVEN","articleBody":"### How do you use Sentry?\n\nSelf-hosted/on-premise\n\n### Version\n\n2.41\n\n### Steps to Reproduce\n\n1. Upgrade `open_ai >= 1.108.1`\n2. Invoke a `completions.create()` with the new Omit\n3. Fails on line `212` inside `sentry_sdk.integrations.openai.py`\n\n### Expected Result\n\nTo not try to execute the if-statement inside rule 212\n\n### Actual Result\n\nSince the new function is Omit, the NOT_GIVEN and None check are passed and then tries to get the length from an Omit which does not exist.","author":{"url":"https://github.com/JornTeurlings","@type":"Person","name":"JornTeurlings"},"datePublished":"2025-10-14T14:52:26Z","url":"https://github.com/getsentry/sentry-python/issues/4923"}
| 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:0f470d74-5818-e163-9b05-ae12722837dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A59C:19F5F4:4120A1:59B32D:6B008CFE |
| html-safe-nonce | 67801780c983d706f57d8c2278d5c9d01cf29c584c4e167e4123806beec7df79 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTlDOjE5RjVGNDo0MTIwQTE6NTlCMzJEOjZCMDA4Q0ZFIiwidmlzaXRvcl9pZCI6IjgzOTAwNjU1ODA1NTE0NzQ0MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | abc55fde6f014bb657c19b6d9940d9b91888db7c973c59ac8894ad0369590ba6 |
| hovercard-subject-tag | issue:3514296697 |
| 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/4923/issue_layout |
| twitter:image | https://opengraph.githubassets.com/042f80b3e90e81cea8ec2cbd8529fe48c2552d7fb171702be631e5adf76a3cd8/getsentry/sentry-python/issues/4923 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/042f80b3e90e81cea8ec2cbd8529fe48c2552d7fb171702be631e5adf76a3cd8/getsentry/sentry-python/issues/4923 |
| og:image:alt | How do you use Sentry? Self-hosted/on-premise Version 2.41 Steps to Reproduce Upgrade open_ai >= 1.108.1 Invoke a completions.create() with the new Omit Fails on line 212 inside sentry_sdk.integrat... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JornTeurlings |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| 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 | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width