The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(docker): ignore a non-string host root when translating a mounted path
brooklyn!37933ff6625f
diff --git a/tools/terminal_tool_config.py b/tools/terminal_tool_config.pyindex d69aab1f2f1..e9cede76601 100644--- a/tools/terminal_tool_config.py+++ b/tools/terminal_tool_config.py@@ -89,6 +89,8 @@ def translate_mounted_host_path(path: str, host_root: str, container_root: str)drive-letter case do not matter; a sibling directory (``proj`` vs ``proj-other``)is not a child."""+ if not isinstance(path, str) or not isinstance(host_root, str) or not isinstance(container_root, str):+ return Noneif not path or not host_root or not container_root:return Nonekey = _host_path_key(path)