From db9a84a0fdc91cbca95348afcd3e7520dcd82931 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 9 Sep 2025 11:56:33 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index 8d3ac64..5b670c1 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -131,12 +131,13 @@ async def async_uapi_request(request, llm, sor): if isinstance(b, bytes): b = b.decode('utf-8') b = ''.join(b.split('\n')) + debug(f'response line = {b}') rzt = DictObject(**json.loads(b)) yield b + '\n' if not rzt.status or rzt.status == 'FAILED': debug(f'{b=} return error') return - if rzt.status == 'SUCCESSED': + if rzt.status == 'SUCCEEDED': debug(f'{b=} return successed') return period = llm.query_period or 30