nerve
nerve copied to clipboard
[Bug]: litellm.UnsupportedParamsError with bedrock eu.anthropic.claude-3-7-sonnet-20250219-v1:0
What happened?
I've set
export NERVE_GENERATOR="bedrock/eu.anthropic.claude-3-7-sonnet-20250219-v1:0"
and get
[04-10-25 16:26:10] ERROR litellm.UnsupportedParamsError: bedrock does not support parameters: ['tool_choice'], for model=eu.anthropic.claude-3-7-sonnet-20250219-v1:0. To drop these, set `litellm.drop_params=True` or for proxy:
`litellm_settings:
drop_params: true`
.
If you want to use these params dynamically send allowed_openai_params=['tool_choice'] in your request.
Version check
- [x] Yes I was.
Relevant log output
Relevant screenshots (optional)
No response
confirmed also with other providers/models ... investigating
@kirel these models seem to be mapped as just anthropic.claude-3-7-sonnet-20250219-v1:0 or us.anthropic.claude-3-7-sonnet-20250219-v1:0, can you try with one of those endpoints?
It's a litellm issue then. I'll file a bug there. Thanks for investigating! I'll experiment with Claude 3.5 - that's mapped for eu.
👍