AutoGPT: Fix file ops

This commit is contained in:
Reinier van der Leer
2023-10-17 13:23:19 -07:00
parent 69094139bf
commit 24cd8e3eeb

View File

@@ -230,7 +230,6 @@ def write_to_file(filename: Path, contents: str, agent: Agent) -> str:
return f"File {filename.name} has been written successfully."
@sanitize_path_arg("filename")
def append_to_file(
filename: Path, text: str, agent: Agent, should_log: bool = True
) -> None: