ading2210 / poe-api

[UNMAINTAINED] A reverse engineered Python API wrapper for Quora's Poe, which provides free access to ChatGPT, GPT-4, and Claude.
https://pypi.org/project/poe-api
GNU General Public License v3.0
2.5k stars 316 forks source link

adding caching to `get_bot_by_codename()` #208

Closed lpietrobon closed 1 year ago

ading2210 commented 1 year ago

functools.cache doesn't exist in Python versions below 3.9.

lpietrobon commented 1 year ago

@ading2210 is there a specific version of python we are trying to be compatible with?

ading2210 commented 1 year ago

I'm trying to stay compatible with 3.7 and up, since those are the officially supported versions.