Compare commits
No commits in common. "8e4fbe4813b488b27c86a7d49d4c4ffc97bb4d6d" and "02bccc88c1cb3032e96aa44ff8b16b28c00aa88d" have entirely different histories.
8e4fbe4813
...
02bccc88c1
@ -187,14 +187,13 @@ async def query_task_status(request, upappid, apiname, luid, userid, taskid):
|
||||
else:
|
||||
changed.amount = cost = 0.0
|
||||
except Exception as e:
|
||||
e1 = Exception(f'{llm.ppid} charging error{e}, {llm.ppid}, {llmusage=}')
|
||||
exception(f'{e1}')
|
||||
changed.amount = changed.cost = 0
|
||||
e = Exception(f'{llm.pid} charging error{e}')
|
||||
exception(f'{e}')
|
||||
else:
|
||||
changed.amount = 0
|
||||
changed.cost = 0
|
||||
await add_new_llmusage_output(luid, changed)
|
||||
if llmusage.accounting_status != 'accounted' and changed.amount > 0.00001:
|
||||
if llmusage.accounting_status != 'accounted':
|
||||
await llm_accounting(request, llmusage)
|
||||
status = rzt.status
|
||||
if rzt.status == 'FAILED':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user