This commit is contained in:
yumoqing 2026-03-30 15:50:19 +08:00
parent 1c489ac2ee
commit 2c500c9dc3

View File

@ -1,7 +1,7 @@
env = request._run_ns
async with get_sor_context(env, 'llmage') as sor:
sql = "select * from llmusage where status='SUCCEEDED' and accounting_status != 'accounted'"
recs = sor.sqlExe(sql, {})
recs = await sor.sqlExe(sql, {})
for r in recs:
try:
x = await llm_accounting(request, r)