Update Akeno/plugins/chatgpt.py
Browse files- Akeno/plugins/chatgpt.py +1 -1
Akeno/plugins/chatgpt.py
CHANGED
@@ -99,7 +99,7 @@ async def chatbot_talk(client: Client, message: Message):
|
|
99 |
}
|
100 |
)
|
101 |
response = model.generate_content(query)
|
102 |
-
output response.text
|
103 |
if len(output) > 4096:
|
104 |
with open("chat.txt", "w+", encoding="utf8") as out_file:
|
105 |
out_file.write(output)
|
|
|
99 |
}
|
100 |
)
|
101 |
response = model.generate_content(query)
|
102 |
+
output = response.text
|
103 |
if len(output) > 4096:
|
104 |
with open("chat.txt", "w+", encoding="utf8") as out_file:
|
105 |
out_file.write(output)
|