From 6cf732570cb9816c9a4c3525e693bade641c72c0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 10 Apr 2026 14:52:08 +0800 Subject: [PATCH] bugfix --- llmage/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llmage/utils.py b/llmage/utils.py index 9684a98..7226e06 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -28,7 +28,7 @@ async def append_new_llmoutput(webpath, output): async def get_lastoutput(webpath): bin = await read_webpath(webpath) - io = json.load(bin.decode('utf-8')) + io = json.loads(bin.decode('utf-8')) return io['output'][-1] async def read_webpath(webpath):