This commit is contained in:
yumoqing 2026-03-30 13:50:13 +08:00
parent fd8e0a6f28
commit 230d6d8198

View File

@ -135,7 +135,7 @@ async def add_new_llmusage_output(luid, newd):
r.update(newd) r.update(newd)
await sor.U('llmusage', r) await sor.U('llmusage', r)
return return
def get_llmusage_last_output(llmusage): def get_llmusage_last_output(r):
io = json.loads(r.ioinfo) io = json.loads(r.ioinfo)
outs = io.get('output', []) outs = io.get('output', [])
if len(outs) == 0: if len(outs) == 0: