From 252c8415c6795741cbfa8136df90b3fb47c81307 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 11 Jan 2024 16:55:19 +0530 Subject: [PATCH] fix(main.py): add back **kwargs for acompletion --- litellm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/main.py b/litellm/main.py index 3ec82ed0a..cb67774bf 100644 --- a/litellm/main.py +++ b/litellm/main.py @@ -234,7 +234,7 @@ async def acompletion( } try: # Use a partial function to pass your keyword arguments - func = partial(completion, **completion_kwargs) + func = partial(completion, **completion_kwargs, **kwargs) # Add the context to the function ctx = contextvars.copy_context()