bugfix
This commit is contained in:
parent
1c489ac2ee
commit
2c500c9dc3
@ -1,7 +1,7 @@
|
|||||||
env = request._run_ns
|
env = request._run_ns
|
||||||
async with get_sor_context(env, 'llmage') as sor:
|
async with get_sor_context(env, 'llmage') as sor:
|
||||||
sql = "select * from llmusage where status='SUCCEEDED' and accounting_status != 'accounted'"
|
sql = "select * from llmusage where status='SUCCEEDED' and accounting_status != 'accounted'"
|
||||||
recs = sor.sqlExe(sql, {})
|
recs = await sor.sqlExe(sql, {})
|
||||||
for r in recs:
|
for r in recs:
|
||||||
try:
|
try:
|
||||||
x = await llm_accounting(request, r)
|
x = await llm_accounting(request, r)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user