Open selfsff opened 6 months ago
This library is sort of unmaintained right now, since they added an anit-bot mechanism which is tricky to reverse engineer. See #22.
Here working I think. But I'm not tried it:
https://github.com/xtekky/gpt4free/blob/main/g4f%2FProvider%2FVercel.py
Traceback (most recent call last): File "", line 233, in
client = vercel_ai.Client()
^^^^^^^^^^^^^^^^^^
File "...\venv\Lib\site-packages\vercel_ai.py", line 43, in init
self.model_ids = list(self.models.keys())
^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'keys'