bugfix
This commit is contained in:
parent
133f734cd9
commit
fbaf43f608
@ -17,7 +17,7 @@ from ahserver.filestorage import FileStorage
|
|||||||
async def append_new_llmoutput(webpath, output):
|
async def append_new_llmoutput(webpath, output):
|
||||||
fs = FileStorage()
|
fs = FileStorage()
|
||||||
p = fs.realPath(webpath)
|
p = fs.realPath(webpath)
|
||||||
if not isinstance(output, str):
|
if isinstance(output, str):
|
||||||
output = json.loads(output)
|
output = json.loads(output)
|
||||||
bin = await read_webpath(webpath)
|
bin = await read_webpath(webpath)
|
||||||
io = json.loads(bin.decode('utf-8'))
|
io = json.loads(bin.decode('utf-8'))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user