Claude 3.7 "top_k
must be unset" [REQUIRES UPDATE]
#6032
Replies: 3 comments 12 replies
-
Simply start a new chat without setting Top K. LibreChat is not opinionated with the parameters and does not set it for you, nor will it try to remove params if they were set manually based on model support. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem (with top_p), I don't see any way to make Claude 3.7 thinking work. It always says top_p must be unset. If I set it at 0 or 1, it doesn't solve the problem. If I switch from another Anthropic model, or from another provider, or if I set this model as default preset and then press new chat, it does not get rid of the problem. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
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?
I am trying to use the new Claude 3.7 model with Thinking enabled. I edited the line in my
.env
file:ANTHROPIC_MODELS=claude-3-7-sonnet-20250219,claude-3-opus-20240229,claude-3-5-haiku-20241022
But when I run a test query with that model, I get this:
Something went wrong. Here's the specific error message we encountered: Operation failed after 3 attempts: 400 {"type":"error","error":{"type":"invalid_request_error","message":"
top_kmust be unset when thinking is enabled. Please consult our documentation at https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking#important-considerations-when-using-extended-thinking"}}
Changing the
top_k
parameter in the sidebar does not make the error go away.Queries without thinking mode enabled do not cause an error.
Version Information
Steps to Reproduce
claude-3-7-sonnet-20250219
modelWhat browsers are you seeing the problem on?
No response
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions