From a0ad8af80ff3bfc99effac81b3566c56e98945cb Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 10 Apr 2026 14:50:11 +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 cce31cb..9684a98 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -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]