File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ x-sentry-defaults: &sentry_defaults
7171 SENTRY_EVENT_RETENTION_DAYS :
7272 SENTRY_MAIL_HOST :
7373 SENTRY_MAX_EXTERNAL_SOURCEMAP_SIZE :
74+ OPENAI_API_TOKEN :
7475 volumes :
7576 - " sentry-data:/data"
7677 - " ./sentry:/etc/sentry"
Original file line number Diff line number Diff line change @@ -291,3 +291,18 @@ def get_internal_network():
291291
292292# BITBUCKET_CONSUMER_KEY = 'YOUR_BITBUCKET_CONSUMER_KEY'
293293# BITBUCKET_CONSUMER_SECRET = 'YOUR_BITBUCKET_CONSUMER_SECRET'
294+
295+ ##############################################
296+ # Suggested Fix Feature / OpenAI Integration #
297+ ##############################################
298+
299+ # See https://docs.sentry.io/product/issues/issue-details/ai-suggested-solution/
300+ # for more information about the feature. Make sure the OpenAI's privacy policy is
301+ # aligned with your company.
302+
303+ # Set the OPENAI_API_KEY on the .env or .env.custom file with a valid
304+ # OpenAI API key to turn on the feature.
305+ OPENAI_API_KEY = env ("OPENAI_API_KEY" , "" )
306+
307+ if OPENAI_API_KEY :
308+ SENTRY_FEATURES ["organizations:open-ai-suggestion" ] = True
You can’t perform that action at this time.
0 commit comments