From bfaf36099e76067e625286e55d765c2096f82710 Mon Sep 17 00:00:00 2001 From: Reinier van der Leer Date: Thu, 27 Apr 2023 01:43:21 +0200 Subject: [PATCH] Fix(workspace) root resolution (#3365) --- autogpt/workspace/workspace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/workspace/workspace.py b/autogpt/workspace/workspace.py index 91d2140e..9165bd96 100644 --- a/autogpt/workspace/workspace.py +++ b/autogpt/workspace/workspace.py @@ -112,7 +112,7 @@ class Workspace: if root is None: return Path(relative_path).resolve() - root, relative_path = Path(root), Path(relative_path) + root, relative_path = Path(root).resolve(), Path(relative_path) if relative_path.is_absolute(): raise ValueError(