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