"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
fix(tools): clean file tool sandbox imports
Haozhe Wue1feee31af0d
diff --git a/agent/src/tools/edit_file_tool.py b/agent/src/tools/edit_file_tool.pyindex d3fa36964..4ab93509f 100644--- a/agent/src/tools/edit_file_tool.py+++ b/agent/src/tools/edit_file_tool.py@@ -3,7 +3,6 @@from __future__ import annotationsimport json-from pathlib import Pathfrom typing import Anyfrom src.agent.tools import BaseTooldiff --git a/agent/src/tools/write_file_tool.py b/agent/src/tools/write_file_tool.pyindex b80e323fd..831e217d1 100644--- a/agent/src/tools/write_file_tool.py+++ b/agent/src/tools/write_file_tool.py@@ -3,7 +3,6 @@from __future__ import annotationsimport json-from pathlib import Pathfrom typing import Anyfrom src.agent.tools import BaseTooldiff --git a/agent/tests/test_file_tool_sandbox_security.py b/agent/tests/test_file_tool_sandbox_security.pyindex db357f559..fdac3b0f2 100644--- a/agent/tests/test_file_tool_sandbox_security.py+++ b/agent/tests/test_file_tool_sandbox_security.py@@ -3,7 +3,6 @@from __future__ import annotationsimport json-import osfrom pathlib import Pathimport pytest@@ -11,7 +10,7 @@ from src.tools.backtest_tool import run_backtestfrom src.tools.edit_file_tool import EditFileToolfrom src.tools.read_file_tool import ReadFileToolfrom src.tools.write_file_tool import WriteFileTool-from src.tools.path_utils import allowed_file_roots, allowed_write_roots, resolve_safe_path+from src.tools.path_utils import allowed_write_roots, resolve_safe_pathdef _body(raw: str) -> dict: