diff --git a/llmage/asyncinference.py b/llmage/asyncinference.py index 3da9971..caf13fd 100644 --- a/llmage/asyncinference.py +++ b/llmage/asyncinference.py @@ -33,7 +33,7 @@ where userid=${userid}$ async def get_asynctask_status(taskid): env = ServerEnv() 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: r = recs[0] io = json.loads(r.ioinfo)