Update chatbot/plugins/chat.py
Browse files- chatbot/plugins/chat.py +1 -1
chatbot/plugins/chat.py
CHANGED
@@ -284,7 +284,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
284 |
response = clients_x.chat.completions.create(
|
285 |
model="gpt-4o",
|
286 |
messages=backup_chat
|
287 |
-
|
288 |
output = response.choices[0].message.content
|
289 |
if len(output) > 4096:
|
290 |
with open("chat.txt", "w+", encoding="utf8") as out_file:
|
|
|
284 |
response = clients_x.chat.completions.create(
|
285 |
model="gpt-4o",
|
286 |
messages=backup_chat
|
287 |
+
)
|
288 |
output = response.choices[0].message.content
|
289 |
if len(output) > 4096:
|
290 |
with open("chat.txt", "w+", encoding="utf8") as out_file:
|