From c0bb34fc02daf305079eeca122405f2ec86cc36c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 30 Mar 2026 16:27:45 +0800 Subject: [PATCH] bugfix --- llmage/asyncinference.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llmage/asyncinference.py b/llmage/asyncinference.py index 5c4f51f..7f52623 100644 --- a/llmage/asyncinference.py +++ b/llmage/asyncinference.py @@ -197,11 +197,12 @@ async def query_task_status(request, upappid, apiname, luid, userid, taskid): if charging: changed.amount = charging.amount changed.cost = charging.cost + debug(f'{changed=},{charging=}') else: changed.amount = cost = 0.0 except Exception as e: e1 = Exception(f'{llm.ppid} charging error{e}, {llm.ppid}, {llmusage=}') - exception(f'{e1}') + exception(f'{e}') changed.amount = changed.cost = 0 else: changed.amount = 0