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
687 stars 82 forks source link

Server Error when trying to send message #72

Closed ngoduyvu closed 9 months ago

ngoduyvu commented 9 months ago

Hi, I used the python code for the whole morning, and everything is fine. But all sudden It keeps getting error. The code returns Errors Server

image

I try to use the POE.AI and it still run normally

image

I hope Quara dont implement anything to prevent us from using Python code to send message.

ngoduyvu commented 9 months ago

The environment is Google Colab, python 3.10 and latest library version

ngoduyvu commented 9 months ago

I think it is becaus of busy time, I just open POE AI again I found the conversation created. I guess the server did not response even when I saw the library retried 3 times. Is there a way I can set the retry and wait time?

snowby666 commented 9 months ago

Yes, you can set the timeout like this send_message(bot, message, timeout=15)

ngoduyvu commented 9 months ago

Cheer Thanks