From 25810cfb2138e86cb22addaf2d54cf5933ed2962 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 1 Apr 2026 13:00:15 +0800 Subject: [PATCH] bugfix --- wwwroot/chat/completions/index.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'