Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

AutoGPT: Fix file ops

Reinier van der Leer24cd8e3eebc7
diff --git a/autogpts/autogpt/autogpt/commands/file_operations.py b/autogpts/autogpt/autogpt/commands/file_operations.py
index c7465c3a30..f82aaa85cc 100644
--- a/autogpts/autogpt/autogpt/commands/file_operations.py
+++ b/autogpts/autogpt/autogpt/commands/file_operations.py
@@ -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: