mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(main.py): add back **kwargs for acompletion
This commit is contained in:
parent
2cd5f0fbe9
commit
252c8415c6
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