anthropics/anthropic-sdk-python

disable_parallel_tool_use is not permitted

Opened this issue · 0 comments

model: anthropic.claude-3-5-sonnet-20241022-v2:0
sdk version: 0.39.0

....stream( 
....
tool_choice=types.ToolChoiceAutoParam(type="auto",disable_parallel_tool_use=False)
) as chunks

error:
{'message': 'Malformed input request: #: subject must not be valid against schema {"required":["messages"]}#/tool_choice: extraneous key [disable_parallel_tool_use] is not permitted, please reformat your input and try again.'}