From 182f14776d3d3b717a40b7e306a061e9f623075d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 19 Sep 2025 15:25:51 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index 29204f0..226637e 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -118,7 +118,7 @@ async def uapi_request(request, llm, sor): if d.get('content'): txt = txt + d['content'] yield_it = True - yield l + yield json.dumps(d) + '\n' except Exception as e: exception(f'{e=},{format_exc()}') yield f'{{"content": f"ERROR:{e=}"}}\n'