Updated max_tokens
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def random_response(message, history):
|
|
| 13 |
|
| 14 |
response = client.chat_completion(
|
| 15 |
messages,
|
| 16 |
-
max_tokens =
|
| 17 |
)
|
| 18 |
return response.choices[0].message.content.strip()
|
| 19 |
#response_options = ["nope", "yeah", "no", "yes", "absolutely not", "absolutely"]
|
|
|
|
| 13 |
|
| 14 |
response = client.chat_completion(
|
| 15 |
messages,
|
| 16 |
+
max_tokens = 1000
|
| 17 |
)
|
| 18 |
return response.choices[0].message.content.strip()
|
| 19 |
#response_options = ["nope", "yeah", "no", "yes", "absolutely not", "absolutely"]
|