From bd5a14daf68bf35b5d194c80b7739de396d56ed1 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Thu, 11 Jan 2024 11:49:55 +0530 Subject: [PATCH] (fix) acompletion typehints - pass kwargs --- litellm/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/main.py b/litellm/main.py index 044fd21724..2b53c3a5fb 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()