tool_file_parser.py 313 B

123456789101112
  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] = {"manager": None}
  5. class ToolFileParser:
  6. @staticmethod
  7. def get_tool_file_manager() -> "ToolFileManager":
  8. return tool_file_manager["manager"]