Claude 4 is using the wrong API #7554
Answered
by
StarkBotha
a20eac1d
asked this question in
Troubleshooting
-
What happened?After updating to the latest LibreChat Commit the Claude 4 Sonnet API is not working anymore and failing with an error message. Version Informationgit rev-parse HEAD Steps to Reproduce
What browsers are you seeing the problem on?No response Relevant log output{"level":"error","message":"[handleAbortError] AI response error; aborting request: Operation failed after 3 attempts: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"\\\"claude-sonnet-4-20250514\\\" is not supported on this API. Please use the Messages API instead.\"}}","stack":"Error: Operation failed after 3 attempts: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"\\\"claude-sonnet-4-20250514\\\" is not supported on this API. Please use the Messages API instead.\"}}\n at AnthropicClient.processResponse (/app/api/app/clients/AnthropicClient.js:842:19)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async AnthropicClient.sendCompletion (/app/api/app/clients/AnthropicClient.js:855:5)\n at async AnthropicClient.sendMessage (/app/api/app/clients/BaseClient.js:659:24)\n at async AskController (/app/api/server/controllers/AskController.js:105:20)\n at async /app/api/server/routes/ask/anthropic.js:23:5"} ScreenshotsCode of Conduct
|
Beta Was this translation helpful? Give feedback.
Answered by
StarkBotha
May 26, 2025
Replies: 1 comment 10 replies
-
Updating Instructions (docker): |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had the same issue, just got latest now and tested, works bewdifully, thanks!!