randydev commited on
Commit
155ec17
·
verified ·
1 Parent(s): 2447b26

Update chatbot/plugins/chat.py

Browse files
Files changed (1) hide show
  1. 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: