nerve icon indicating copy to clipboard operation
nerve copied to clipboard

[Bug]: litellm.UnsupportedParamsError with bedrock eu.anthropic.claude-3-7-sonnet-20250219-v1:0

Open kirel opened this issue 8 months ago • 3 comments

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

kirel avatar Apr 11 '25 07:04 kirel

confirmed also with other providers/models ... investigating

evilsocket avatar Apr 11 '25 10:04 evilsocket

@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?

evilsocket avatar Apr 11 '25 12:04 evilsocket

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.

kirel avatar Apr 14 '25 09:04 kirel

👍

kirel avatar May 30 '25 16:05 kirel