fix(anthropic.py): concurrent request fix
This commit is contained in:
parent
82c53d7e2f
commit
e892fc99a3
@ -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])}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user