From 3c57ee26ca9c1d66bfc068f3b2034f450a337e14 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 5 Apr 2026 15:47:15 +0800 Subject: [PATCH] bugfix --- llmage/accounting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/accounting.py b/llmage/accounting.py index 8aa0153..1638f62 100644 --- a/llmage/accounting.py +++ b/llmage/accounting.py @@ -153,7 +153,7 @@ async def get_accounting_llmusages(luid=None): dt = datetime.fromtimestamp(t) tsstr = dt.strftime('%Y-%m-%d %H:%M:%S.') + f'{dt.microsecond // 1000:03d}' async with get_sor_context(env, 'llmage') as sor: - sql = """select a.*. b.ppid + sql = """select a.*, b.ppid from llmusage a, llm b where a.llmid = b.id and a.status = 'SUCCEEDED'