From eab52f4da0e31223fdfba6d81e3de1bb0283dda0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 4 Sep 2025 13:50:19 +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 570a163..00070de 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -77,7 +77,7 @@ async def uapi_request(request, sor, caller_orgid, callerid, uapi, llm, params): txt = '' async for l in uapi.stream_linify(llm.upappid, llm.apiname, userid, params=params): if l and l != '[DONE]': - yiled_it = False + yield_it = False d = json.loads(l) if d.get('reasoning_content'): txt += d.get('reasoning_content')