From fbaf43f608c870cc2e799ffd1d8a37eb897fdbb6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 10 Apr 2026 17:02:48 +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 b11aba7..e7be7d5 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -17,7 +17,7 @@ from ahserver.filestorage import FileStorage async def append_new_llmoutput(webpath, output): fs = FileStorage() p = fs.realPath(webpath) - if not isinstance(output, str): + if isinstance(output, str): output = json.loads(output) bin = await read_webpath(webpath) io = json.loads(bin.decode('utf-8'))