From 5d836a4504461b1c556f2242f3cb15f0c98aa0e7 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 22 May 2026 13:38:54 +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 156311e..172aece 100644 --- a/llmage/accounting.py +++ b/llmage/accounting.py @@ -71,7 +71,7 @@ async def llm_accounting(llmusage): llmid = llmusage.llmid async with get_sor_context(env, 'llmage') as sor: sql = """select a.*, b.ppid from llm a, llm_api_map b -where id=${llmid}$ +where a.id=${llmid}$ and a.id = b.llmid and b.isdefaultcatelog = '1' """