From 20f1a25d0ce37b73f05a72ea3645f9bea9aceabb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 19 Sep 2025 15:14:07 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index 468c6cf..29204f0 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -118,10 +118,7 @@ async def uapi_request(request, llm, sor): if d.get('content'): txt = txt + d['content'] yield_it = True - if yield_it: - yield l - else: - debug(f'{l} not yield') + yield l except Exception as e: exception(f'{e=},{format_exc()}') yield f'{{"content": f"ERROR:{e=}"}}\n'