From 2ceae51dae79ab8d00dd89107eda63fb58dc3543 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 1 Apr 2026 13:02:21 +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 f43a7e1..e6b5b4b 100644 --- a/wwwroot/chat/completions/index.dspy +++ b/wwwroot/chat/completions/index.dspy @@ -3,7 +3,7 @@ async def gen(): f = partial(inference_generator, request, params_kw=params_kw) if params_kw.stream: async for l in f(): - yield f'data: {l}\n' + yield f'data: {l}' yield 'data: [DONE]\n' else: async for l in f():