diff --git a/wwwroot/chat/completions/index.dspy b/wwwroot/chat/completions/index.dspy index 59b759c..6337669 100644 --- a/wwwroot/chat/completions/index.dspy +++ b/wwwroot/chat/completions/index.dspy @@ -1,6 +1,6 @@ async def gen(): env = request._run_ns.copy() - f = partial(inference_generator, request, *args, params_kw=params_kw, **kw) + f = partial(inference_generator, request, params_kw=params_kw) if params_kw.stream: async for l in f(): yield b'data: ' + l + b'\n'