mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-05 08:23:17 +00:00
fix(anthropic.py): concurrent request fix
This commit is contained in:
@@ -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])}"
|
||||
|
||||
Reference in New Issue
Block a user