This commit is contained in:
Nuno Campos
2024-12-18 13:28:22 +00:00
parent 4c3a38d324
commit 39281c866d
+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__"