您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

tool_file_parser.py 313B

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"]