LibreChat: user_provided API key authentication failure (401) - deepseek #6857
Unanswered
kihyunnn
asked this question in
Troubleshooting
Replies: 1 comment
-
Thanks for the report. Add it to the regular endpoint first, then use it via Agents. Someway to add it through agents is still in the works |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Directly inputting the API key into the .env file to create a model works correctly. However, when selecting the Deepseek model as an Agent through the web interface and providing the API key using the user_provided method, a "401 Authentication Failure" error occurs. It appears that the API key provided via the user_provided method is not being properly passed to the Agent.
Version Information
Steps to Reproduce
You are using a model with the API key set to user_provided in the .env file. You create an Agent after pre-entering the API key in the web UI. After that, a 401 authentication failure error occurs when using that Agent (Deepseek model). In other words, the problem occurs when using the Agent after creating it using the user_provided method.
Steps to Reproduce (Modified):
What browsers are you seeing the problem on?
Chrome
Relevant log output
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions