You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing an issue with the model "command-r+" not working. When attempting to use this model through the g4f API (running "g4f api"), I receive the following error:
ERROR:root:Request failed with status code: 401, response: {"error":"You have to be logged in."}
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/g4f/api/__init__.py", line 177, in chat_completions
response = self.client.chat.completions.create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/g4f/client/client.py", line 241, in create
return next(response)
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/g4f/client/client.py", line 119, in iter_append_model_and_provider
for chunk in response:
File "/usr/lib/python3.11/site-packages/g4f/client/client.py", line 79, in iter_response
for chunk in response:
File "/usr/lib/python3.11/site-packages/g4f/Provider/HuggingChat.py", line 83, in create_completion
raise RuntimeError(f"Request failed with status code: {response.status_code}, response: {response.text}")
RuntimeError: Request failed with status code: 401, response: {"error":"You have to be logged in."}
The model "command-r+" was working perfectly until yesterday. I am using g4f with Docker.
Steps to Reproduce
Run "g4f api" with the "command-r+" model.
Observe the error message in the terminal output.
Environment
Python version: 3.11
Location: Not in a Cloudflare-flagged country
g4f version: [g4f v-0.3.3.3]
Additional context
No recent changes were made on my side. The model was working without issues until yesterday.
The text was updated successfully, but these errors were encountered:
Bug description
I'm experiencing an issue with the model "command-r+" not working. When attempting to use this model through the g4f API (running "g4f api"), I receive the following error:
The model "command-r+" was working perfectly until yesterday. I am using g4f with Docker.
Steps to Reproduce
Environment
Additional context
No recent changes were made on my side. The model was working without issues until yesterday.
The text was updated successfully, but these errors were encountered: