-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
🐛 bugSomething isn't workingSomething isn't working
Description
What happened?
Hello everyone,
Creating a new anthropic api key gives you a ant-api03
key, however, this is incompatible with the older @anthropic-ai/sdk v0.16.x being used, which expects an ant-xxx
key.
When sending a request i get this error:
Something went wrong. Here's the specific error message we encountered: Operation failed after 3 attempts: 401 {"type":"error","error":{"type":"authentication_error","message":"invalid x-api-key"}}
Upgrading the sdk to v0.32.1 (also change this in api/package.json) fixed the problem for me.
OS: Windows 11
Steps to Reproduce
- Install librechat by cloning the repo and docker compose
- Set ANTHROPIC_API_KEY=
ant-api03-xxx
as env variable - prompt any anthropic model
What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Relevant log output
No response
Screenshots
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
🐛 bugSomething isn't workingSomething isn't working