Claude 3.7 via Bedrock throws "thinking.enabled.budget_tokens" error when using 2000 as default budget_tokens #8347
Replies: 3 comments 2 replies
-
Even setting to |
Beta Was this translation helpful? Give feedback.
-
@danny-avila Hi, I'm also receiving responses in the UI as expected. However, I'm consistently seeing this error in the server logs:
So while functionality doesn't appear to be broken from the user perspective, this error is still being logged during conversation. Just wanted to clarify that the issue might not affect the UI directly, but it does show up in backend logs. Let me know if you'd like any environment details or configuration snippets to help reproduce it. |
Beta Was this translation helpful? Give feedback.
-
@danny-avila Hi, We'll keep an eye out for the fix. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
I'm using Claude 3.7 Sonnet (
us.anthropic.claude-3-7-sonnet-20250219-v1:0
) via AWS Bedrock. I enabled"thinking"
mode and the defaultbudget_tokens
value is2000
.However, I encounter the following error in the logs:
This seems odd, as 2000 is clearly ≥ 1024, yet the error persists. It might be a bug or an issue with how the parameter is being passed or validated internally.
Version Information
f4d97e1
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions