From e88b4f61c69934779956fc17d4cfd57536581496 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 29 Jan 2026 18:06:09 +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 35a368a..a5370ee 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -256,7 +256,7 @@ async def sync_uapi_request(request, llm, sor, params_kw=None): if isinstance(b, bytes): b = b.decode('utf-8') d = json.loads(b) - status = g.get('status') + status = d.get('status') if status and status != 'SUCCEEDED': raise Exception(d['error']) except Exception as e: