snowby666 / poe-api-wrapper

👾 A Python API wrapper for Poe.com. With this, you will have free access to GPT-4, Claude, Llama, Gemini, Mistral and more! 🚀
https://pypi.org/project/poe-api-wrapper/
GNU General Public License v3.0
962 stars 114 forks source link

Bot not found #53

Closed detherminal closed 1 year ago

detherminal commented 1 year ago

Custom bot's are giving not found error.

Traceback (most recent call last):
  File "/home/cm/.local/lib/python3.11/site-packages/poe_api_wrapper/api.py", line 773, in delete_chat
    chatdata = self.get_chat_history(bot=bot)['data'][bot]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^

I am able to talk with the bot in web but I am not able to connect to them in API.

snowby666 commented 1 year ago

if you use delete_chat, make sure the bot has exisiting threads before deleting

detherminal commented 1 year ago

if you use delete_chat, make sure the bot has exisiting threads before deleting

Thanks, working. <3