HexyeDEV / Telegram-Chatbot-Gpt4Free

This is a Python-based Telegram bot using the telethon library. The bot responds to messages using the evagpt4 reverse engeneered api from OpenGPT repo
MIT License
135 stars 39 forks source link

Error when sent /addmemory #6

Closed egcash closed 10 months ago

egcash commented 10 months ago

Unhandled exception on addmemory Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/telethon/client/updates.py", line 497, in _dispatch_update await callback(event) File "/root/Telegram-Chatbot-Gpt4Free/main.py", line 142, in addmemory text = event.text.split(' ', 1)[1] IndexError: list index out of range

HexyeDEV commented 10 months ago

you must also provide the data that you want to keep in Memory. for example: /addmemory Today's Bitcoin price is 25000$.

egcash commented 10 months ago

Thanks