litellm icon indicating copy to clipboard operation
litellm copied to clipboard

[Bug]: Claude tool calls with streamed response

Open jackmpcollins opened this issue 3 months ago • 4 comments

What happened?

The function calling example in the docs for anthropic/claude-3-opus does not work when stream=True is passed as an argument. It returns a streamed response with the content field filled out in each chunk instead of the tool_calls field.

Relevant log output

No response

Twitter / LinkedIn details

No response

jackmpcollins avatar Mar 10 '24 20:03 jackmpcollins