tool_file_parser.py 319 B

123456789101112131415
  1. from typing import TYPE_CHECKING, Any
  2. if TYPE_CHECKING:
  3. from core.tools.tool_file_manager import ToolFileManager
  4. tool_file_manager: dict[str, Any] = {
  5. 'manager': None
  6. }
  7. class ToolFileParser:
  8. @staticmethod
  9. def get_tool_file_manager() -> "ToolFileManager":
  10. return tool_file_manager["manager"]