bugfix
This commit is contained in:
parent
fd8e0a6f28
commit
230d6d8198
@ -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:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user