Skip to content

Commit e46db5d

Browse files
committed
fix: Remove ValidationTool references to resolve import errors
- Removed ValidationTool from base.py tool registration - Removed ValidationTool imports from mcp_server.py - ValidationTool is commented out in data_tools.py, so removing references - Basic orchestrator import now works (just needs models initialized)
1 parent e335dbd commit e46db5d

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/orchestrator/tools/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ async def execute_tool(self, name: str, **kwargs) -> Dict[str, Any]:
104104
def register_default_tools():
105105
"""Register all default tools with the global registry."""
106106
# Import here to avoid circular imports
107-
from .data_tools import DataProcessingTool, ValidationTool
107+
from .data_tools import DataProcessingTool
108108
from .report_tools import PDFCompilerTool, ReportGeneratorTool
109109
from .system_tools import FileSystemTool, TerminalTool
110110
from .web_tools import HeadlessBrowserTool, WebSearchTool
@@ -120,7 +120,6 @@ def register_default_tools():
120120
TerminalTool(),
121121
FileSystemTool(),
122122
DataProcessingTool(),
123-
ValidationTool(),
124123
ReportGeneratorTool(),
125124
PDFCompilerTool(),
126125
TaskDelegationTool(),

src/orchestrator/tools/mcp_server.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from typing import Any, Dict, List, Optional
88

99
from .base import ToolRegistry, default_registry
10-
from .data_tools import DataProcessingTool, ValidationTool
10+
from .data_tools import DataProcessingTool
1111
from .system_tools import FileSystemTool, TerminalTool
1212
from .web_tools import HeadlessBrowserTool, WebSearchTool
1313

@@ -32,7 +32,6 @@ def register_default_tools(self):
3232
TerminalTool(),
3333
FileSystemTool(),
3434
DataProcessingTool(),
35-
ValidationTool(),
3635
]
3736

3837
for tool in tools:
@@ -258,7 +257,6 @@ def _auto_register_tool(self, tool_name: str) -> bool:
258257
"terminal": TerminalTool,
259258
"filesystem": FileSystemTool,
260259
"data-processing": DataProcessingTool,
261-
"validation": ValidationTool,
262260
}
263261

264262
if tool_name in tool_mapping:

0 commit comments

Comments
 (0)