forked from phoenix/litellm-mirror
fix(router.py): deepcopy initial model list, don't mutate it
This commit is contained in:
parent
a5dd8b1d4a
commit
9cf5ab468f
6 changed files with 280 additions and 102 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue