Update api/utils.py
Browse files- api/utils.py +1 -1
api/utils.py
CHANGED
|
@@ -31,7 +31,7 @@ logger = setup_logger(__name__)
|
|
| 31 |
BLOCKED_MESSAGE = "Generated by BLACKBOX.AI, try unlimited chat https://www.blackbox.ai"
|
| 32 |
|
| 33 |
# Get the custom message from the environment variable
|
| 34 |
-
FREE_USER_MESSAGE = os.getenv('FREE_USER_MESSAGE', '')
|
| 35 |
|
| 36 |
# Helper function to create chat completion data
|
| 37 |
def create_chat_completion_data(
|
|
|
|
| 31 |
BLOCKED_MESSAGE = "Generated by BLACKBOX.AI, try unlimited chat https://www.blackbox.ai"
|
| 32 |
|
| 33 |
# Get the custom message from the environment variable
|
| 34 |
+
FREE_USER_MESSAGE = os.getenv('FREE_USER_MESSAGE', 'Thank you for using our service! Upgrade to premium for more features.')
|
| 35 |
|
| 36 |
# Helper function to create chat completion data
|
| 37 |
def create_chat_completion_data(
|