mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(fix) acompletion typehints - pass kwargs
This commit is contained in:
parent
cf86af46a8
commit
bd5a14daf6
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue