Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sentry/sentry.conf.example.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ def get_internal_network():
# OpenAI API key to turn on the feature.
OPENAI_API_KEY = env("OPENAI_API_KEY", "")

if OPENAI_API_KEY:
SENTRY_FEATURES["organizations:open-ai-suggestion"] = True
OPENAI_API_KEY = env("OPENAI_API_KEY", "")
SENTRY_FEATURES["organizations:open-ai-suggestion"] = bool(OPENAI_API_KEY)

##############################################
# Content Security Policy settings
Expand Down