This commit is contained in:
yumoqing 2026-04-10 14:52:08 +08:00
parent a0ad8af80f
commit 6cf732570c

View File

@ -28,7 +28,7 @@ async def append_new_llmoutput(webpath, output):
async def get_lastoutput(webpath): async def get_lastoutput(webpath):
bin = await read_webpath(webpath) bin = await read_webpath(webpath)
io = json.load(bin.decode('utf-8')) io = json.loads(bin.decode('utf-8'))
return io['output'][-1] return io['output'][-1]
async def read_webpath(webpath): async def read_webpath(webpath):