bugfix
This commit is contained in:
parent
be94806d91
commit
ea4ac5bd7b
@ -180,11 +180,3 @@ async def query_task_status(request, upappid, apinames, luid, userid, taskid):
|
|||||||
return
|
return
|
||||||
await asyncio.sleep(0.1)
|
await asyncio.sleep(0.1)
|
||||||
|
|
||||||
except Exception as e:
|
|
||||||
exception(f'{e=},{format_exc()}')
|
|
||||||
estr = erase_apikey(e)
|
|
||||||
recs = sor.R('llmusage', {'id': luid})
|
|
||||||
ed = {"error": f"ERROR:{estr}", "status": "FAILED", 'taskid': taskid}
|
|
||||||
await add_new_llmusage_output(luid, ed)
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user