Commit
·
5188aef
1
Parent(s):
1c7d99c
Set mac tokens to 250
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
| 13 |
CHAT_ENDPOINT="https://api.openai.com/v1/chat/completions"
|
| 14 |
CHAT_MODEL = "gpt-3.5-turbo"
|
| 15 |
CHAT_AUTH = {"Authorization": "Bearer " + openai.api_key}
|
| 16 |
-
MAX_TOKENS =
|
| 17 |
gpt_history = []
|
| 18 |
|
| 19 |
#TODO: handle max length limits
|
|
|
|
| 13 |
CHAT_ENDPOINT="https://api.openai.com/v1/chat/completions"
|
| 14 |
CHAT_MODEL = "gpt-3.5-turbo"
|
| 15 |
CHAT_AUTH = {"Authorization": "Bearer " + openai.api_key}
|
| 16 |
+
MAX_TOKENS = 250
|
| 17 |
gpt_history = []
|
| 18 |
|
| 19 |
#TODO: handle max length limits
|