19 lines
725 B
Python
19 lines
725 B
Python
# Useful for debugging purposes when you don't want to waste GPT4-Vision credits
|
|
# Setting to True will stream a mock response instead of calling the OpenAI API
|
|
# TODO: Should only be set to true when value is 'True', not any abitrary truthy value
|
|
import os
|
|
|
|
ANTHROPIC_API_KEY = os.environ.get("ANTHROPIC_API_KEY", None)
|
|
|
|
SHOULD_MOCK_AI_RESPONSE = bool(os.environ.get("MOCK", False))
|
|
|
|
# Set to True when running in production (on the hosted version)
|
|
# Used as a feature flag to enable or disable certain features
|
|
IS_PROD = os.environ.get("IS_PROD", False)
|
|
|
|
# Hosted version only
|
|
|
|
PLATFORM_SCREENSHOTONE_API_KEY = os.environ.get("PLATFORM_SCREENSHOTONE_API_KEY", "")
|
|
|
|
BACKEND_SAAS_URL = os.environ.get("BACKEND_SAAS_URL", "")
|