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'