fix(router.py): deepcopy initial model list, don't mutate it

This commit is contained in:
Krrish Dholakia 2023-12-12 09:53:35 -08:00
parent 5e9286ed41
commit 0cf0c2d6dd
6 changed files with 280 additions and 102 deletions

View file

@ -607,7 +607,7 @@ def completion(
)
raise e
if optional_params.get("stream", False) or acompletion == True:
if optional_params.get("stream", False):
## LOGGING
logging.post_call(
input=messages,