mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix(anthropic.py): concurrent request fix
This commit is contained in:
parent
82c53d7e2f
commit
e892fc99a3
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue