This commit is contained in:
yumoqing 2026-03-31 16:37:24 +08:00
parent fc261c9508
commit 9de741979d

View File

@ -33,7 +33,7 @@ where userid=${userid}$
async def get_asynctask_status(taskid): async def get_asynctask_status(taskid):
env = ServerEnv() env = ServerEnv()
async with get_sor_context(env, 'llmage') as sor: async with get_sor_context(env, 'llmage') as sor:
recs = await sor.R('llmusage', {'taskid', taskid}) recs = await sor.R('llmusage', {'taskid': taskid})
if recs: if recs:
r = recs[0] r = recs[0]
io = json.loads(r.ioinfo) io = json.loads(r.ioinfo)