Anthropic Claude model via Reverse Proxy returns thinking error
due to outdated request format
#8968
Unanswered
B-ai-P
asked this question in
Troubleshooting
Replies: 1 comment
-
Anthropic API payloads remain the same whether or not a reverse proxy is used. Official implementation is still expected if using a reverse proxy. |
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?
When using the Anthropic Claude model via a reverse proxy (URL + password method), the following error occurs:
{
"error": {
"message": "Request validation failed. At 'thinking > type': Invalid literal value, expected "enabled" | At 'thinking > budget_tokens': Required",
"type": "proxy_validation_error"
}
}
This does not happen when using an official API key connection directly to the model provider (e.g., Anthropic API), because the request format and parameters are kept up to date with the latest API specifications.
However, when using a reverse proxy, it seems that the proxy service has not been updated for a long time — possibly due to low user — and is still using an outdated request format/parameter structure.
Although I have not verified with other models, I suspect that reverse proxy connections for other models might also be outdated in the same way.
Please consider updating all reverse proxy endpoints to match the latest API changes and avoid these request validation errors.
Version Information
Environment: Running from Docker with custom CONFIG_PATH
Base image: ghcr.io/danny-avila/librechat-dev:latest
Pulled on: 2025-08-10
CONFIG_PATH:
https://raw.githubusercontent.com/LibreChat-AI/librechat-config-yaml/main/librechat-up-l.yaml
Steps to Reproduce
thinking error
in the response.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