bugfix
This commit is contained in:
parent
1062f5b17e
commit
a0ad8af80f
@ -26,7 +26,7 @@ async def append_new_llmoutput(webpath, output):
|
||||
iostr = json.dumps(io, ensure_ascii=False, indent=4)
|
||||
f.write(iostr.encode('utf-8'))
|
||||
|
||||
async def get_usage_from_lastoutput(webpath):
|
||||
async def get_lastoutput(webpath):
|
||||
bin = await read_webpath(webpath)
|
||||
io = json.load(bin.decode('utf-8'))
|
||||
return io['output'][-1]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user