This commit is contained in:
Nuno Campos
2024-12-18 11:41:52 -08:00
committed by William Fu-Hinthorn
parent e20bd15580
commit 7e8a68f0f0
+3 -1
View File
@@ -292,8 +292,10 @@ class Command(Generic[N], ToolOutputMixin):
for t in self.update
):
return self.update
else:
elif self.update is not None:
return [("__root__", self.update)]
else:
return []
PARENT: ClassVar[Literal["__parent__"]] = "__parent__"