bugfix
This commit is contained in:
parent
fc261c9508
commit
9de741979d
@ -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)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user