forked from phoenix/litellm-mirror
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:
|
try:
|
||||||
# Use a partial function to pass your keyword arguments
|
# 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
|
# Add the context to the function
|
||||||
ctx = contextvars.copy_context()
|
ctx = contextvars.copy_context()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue