mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-05 04:38:37 +08:00
13 lines
313 B
Python
13 lines
313 B
Python
from typing import TYPE_CHECKING, Any
|
|
|
|
if TYPE_CHECKING:
|
|
from core.tools.tool_file_manager import ToolFileManager
|
|
|
|
tool_file_manager: dict[str, Any] = {"manager": None}
|
|
|
|
|
|
class ToolFileParser:
|
|
@staticmethod
|
|
def get_tool_file_manager() -> "ToolFileManager":
|
|
return tool_file_manager["manager"]
|