diff --git a/litellm/llms/anthropic.py b/litellm/llms/anthropic.py index 6efe512e1d..9ccc46e1a3 100644 --- a/litellm/llms/anthropic.py +++ b/litellm/llms/anthropic.py @@ -271,6 +271,7 @@ def completion( 0 ].finish_reason streaming_model_response.choices[0].index = model_response.choices[0].index + streaming_model_response.choices = [litellm.utils.StreamingChoices()] _tool_calls = [] print_verbose( f"type of model_response.choices[0]: {type(model_response.choices[0])}"