From 0e0afda45ae2c6ba9503459f92ec7d5bcc0a0a1f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 4 Sep 2025 14:16:30 +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 2f71d7b..c0e0bfb 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -80,7 +80,7 @@ async def uapi_request(request, sor, caller_orgid, callerid, uapi, llm, params): yield_it = False try: d = json.loads(l) - except Exception e: + except Exception as e: debug(f'json.loads({l}) error({e})') continue if d.get('reasoning_content'):