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
833 stars 98 forks source link

Bot not found #53

Closed detherminal closed 12 months ago

detherminal commented 12 months 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 12 months ago

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

detherminal commented 12 months ago

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

Thanks, working. <3