vercel-llm-api icon indicating copy to clipboard operation
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.

Results 6 vercel-llm-api issues
Sort by recently updated
recently updated
newest added

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...

bug

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...

bug
help wanted

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.

bug

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...

bug
help wanted

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...

bug