fix(main.py): add back **kwargs for acompletion

This commit is contained in:
Krrish Dholakia 2024-01-11 16:55:19 +05:30
parent 2cd5f0fbe9
commit 252c8415c6

View file

@ -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()