tuning action node code

This commit is contained in:
geekan 2023-12-13 17:47:09 +08:00
parent ad0e5a6da8
commit bfdb8415ad
7 changed files with 72 additions and 96 deletions

View file

@ -205,7 +205,7 @@ class FileRepository:
m = json.loads(doc.content)
filename = Path(doc.filename).with_suffix(with_suffix) if with_suffix is not None else Path(doc.filename)
await self.save(filename=str(filename), content=json_to_markdown(m), dependencies=dependencies)
logger.info(f"File Saved: {str(filename)}")
logger.debug(f"File Saved: {str(filename)}")
@staticmethod
async def get_file(filename: Path | str, relative_path: Path | str = ".") -> Document | None: