Compare commits

..

No commits in common. "7e31ecde890584629e1e450aa0d65f7457be4e8e" and "9dd73339ceb6883c3940ba1e360b70609f88ccca" have entirely different histories.

2 changed files with 1 additions and 9 deletions

View File

@ -1,5 +1,5 @@
userid = await get_user()
tasks = await get_today_asynctask_list(userid)
tasks = await get_today_asynctask_list(userrid)
return {
'status': 'ok',
'data': {

View File

@ -1,8 +0,0 @@
env = request._run_ns
async with sor_get_context(env, 'llmage') as sor:
sql = "select * from llmusage where status='SUCCEEDED' and accounting_status != 'accounted'"
recs = sor.sqlExe(sql, {})
for r in recs:
try:
x = await llm_accounting(request, r)
except Exception(f'{r.id=} accounting error')