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
678 stars 81 forks source link

auto_proxy=True #132

Open bluusun opened 3 months ago

bluusun commented 3 months ago

Does that work for anyone?

Invariably hangs for me without progress:

2024-03-28 20:52:04.103 | INFO | poe_api_wrapper.api:select_proxy:80 - Connection failed with {'http': 'http://198.74.51.79:8888'}. Trying 1/10 ... ^C2024-03-28 20:55:16.547 | INFO | poe_api_wrapper.api:select_proxy:80 - Connection failed with {'http': 'http://5.78.65.91:80'}. Trying 2/10 ...

Maybe poe_api+wrapper could do some kind of self check (make a super basic query to a cheap bot to see if API works, if not try next proxy).