MCPcopy
hub / github.com/AstrBotDevs/AstrBot / get_astrbot_system_tmp_path

Function get_astrbot_system_tmp_path

astrbot/core/utils/astrbot_path.py:83–85  ·  view source on GitHub ↗

Return the shared system temporary directory used by local tools.

()

Source from the content-addressed store, hash-verified

81
82
83def get_astrbot_system_tmp_path() -> str:
84 """Return the shared system temporary directory used by local tools."""
85 return os.path.realpath(os.path.join(tempfile.gettempdir(), ".astrbot"))
86
87
88def get_astrbot_site_packages_path() -> str:

Callers 8

build_main_agentFunction · 0.90
_file_send_allowed_rootsFunction · 0.90
_read_allowed_rootsFunction · 0.90
_write_allowed_rootsFunction · 0.90
tool_loop_agentMethod · 0.90
_run_update_projectMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected