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.
changes the file_logger.txt to .log
SwiftyOSab26c07296fc
diff --git a/autogpts/autogpt/autogpt/commands/file_operations.py b/autogpts/autogpt/autogpt/commands/file_operations.pyindex 1750dbde71..c800499a1f 100644--- a/autogpts/autogpt/autogpt/commands/file_operations.py+++ b/autogpts/autogpt/autogpt/commands/file_operations.py@@ -112,7 +112,7 @@ def is_duplicate_operation(def log_operation(operation: Operation, file_path: Path, agent: Agent, checksum: str | None = None) -> None:- """Log the file operation to the file_logger.txt+ """Log the file operation to the file_logger.logArgs:operation: The operation to logdiff --git a/autogpts/autogpt/autogpt/workspace/workspace.py b/autogpts/autogpt/autogpt/workspace/workspace.pyindex 76cc351bb2..125e674070 100644--- a/autogpts/autogpt/autogpt/workspace/workspace.py+++ b/autogpts/autogpt/autogpt/workspace/workspace.py@@ -147,7 +147,7 @@ class Workspace:@staticmethoddef build_file_logger_path(workspace_directory: Path) -> Path:- file_logger_path = workspace_directory / "file_logger.txt"+ file_logger_path = workspace_directory / "file_logger.log"if not file_logger_path.exists():with file_logger_path.open(mode="w", encoding="utf-8") as f:f.write("File Operation Logger ")diff --git a/autogpts/autogpt/tests/conftest.py b/autogpts/autogpt/tests/conftest.pyindex 05d0f25616..db35120e3e 100644--- a/autogpts/autogpt/tests/conftest.py+++ b/autogpts/autogpt/tests/conftest.py@@ -71,7 +71,7 @@ def config(temp_plugins_config_file: str, mocker: MockerFixture, workspace: Workmocker.patch.multiple(config,workspace_path=workspace.root,- file_logger_path=workspace.get_path("file_logger.txt"),+ file_logger_path=workspace.get_path("file_logger.log"),)yield config