vercel-llm-api
vercel-llm-api copied to clipboard
A reverse engineered Python API wrapper for the Vercel AI Playground, which provides free access to many large language models without needing an account.
When I send `openai:gpt-3.5-turbo` a chat request on russian (for example, "_Расскажи больше про себя_"), i get an error: ```python Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/curl_cffi/curl.py", line 53, in...
During a reanalysis of Vercel AI's functionality, I came across two additional headers used in the HTTP requests of its generational endpoints, namely `x-kpsdk-cd`, `x-kpsdk-ct`, `x-kpsdk-im`. After some research, I...
Is the API down? I can't seem to get it to work. I also have not reached the token limit so I'm not quite sure what is wrong.
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/vercel_ai.py", line 141, in stream_request chunk = chunks_queue.get(block=True, timeout=0.01) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/queue.py", line 179, in get raise Empty _queue.Empty During handling of the above...
I'm getting this TimeOut Error most of the time, please help??
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...