From 48e559acbcb74eb60bfeb5f43b2fdfcb0840d0c6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 5 Apr 2026 16:12:50 +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 9ead916..e6ca8b9 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -103,7 +103,7 @@ async def uapi_request(request, llm, sor, callerid, callerorgid, params_kw=None) else: llmusage.amount = llmusage.cost = 0.00 except Exception as e: - e = Exception(f'{llm.pid} charging error{e}') + e = Exception(f'{llmusage.id} {llm.ppid=} {llmusage.usages=}, {llm.id=} {llm.model=} charging error{e}') exception(f'{e}') llmusage.amount = llmusage.cost = 0 else: