Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Fix filesystem path warning
Jakub Novak7f12306ca7d0
diff --git a/packages/python-sdk/e2b/utils/filesystem.py b/packages/python-sdk/e2b/utils/filesystem.pyindex ace99e839..b301e565e 100644--- a/packages/python-sdk/e2b/utils/filesystem.py+++ b/packages/python-sdk/e2b/utils/filesystem.py@@ -5,7 +5,7 @@ from typing import Optionaldef resolve_path(path: str, cwd: Optional[str] = None) -> str:- warning = f"Path starts with %()s and cwd isn't set. The path {path} will evaluate to `%()s`, which may not be what you want."+ warning = f"Path starts with {{0}} and cwd isn't set. The path {path} will evaluate to `{{1}}`, which may not be what you want."if path.startswith("./"):result = PurePosixPath(cwd or "/home/user", path).as_posix()if not cwd: