bugfix
This commit is contained in:
parent
97c07e4183
commit
cf5c7cec4c
@ -137,7 +137,10 @@ async def add_new_llmusage_output(luid, newd):
|
|||||||
r.ioinfo = json.dumps(io)
|
r.ioinfo = json.dumps(io)
|
||||||
r.update(newd)
|
r.update(newd)
|
||||||
await sor.U('llmusage', r)
|
await sor.U('llmusage', r)
|
||||||
|
debug(f'llmuasage update to {r}')
|
||||||
return
|
return
|
||||||
|
exception(f'add_new_llmusage_output({luid}, {newd}) Error')
|
||||||
|
|
||||||
def get_llmusage_last_output(r):
|
def get_llmusage_last_output(r):
|
||||||
io = json.loads(r.ioinfo)
|
io = json.loads(r.ioinfo)
|
||||||
outs = io.get('output', [])
|
outs = io.get('output', [])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user