From 7cd93a799922b430810280755897c98fa14ece06 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 22 May 2026 13:06:02 +0800 Subject: [PATCH] buggix --- llmage/accounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/accounting.py b/llmage/accounting.py index dde5f10..42514c5 100644 --- a/llmage/accounting.py +++ b/llmage/accounting.py @@ -198,7 +198,7 @@ where a.llmid = b.id try: if isinstance(r.usages, str): r.usages = json.loads(r.usages) - d = await env.buffered_charging(r.ppid, r.usages) + d = await llm_charging(r.ppid, r) except Exception as e: await llm_accoung_failed(r.id) exception(f'{r.ppid=}, {r.usages=} llm_charging() failed,{e}')