fix: ignore class types when filtering workflow steps (#1085)

* fix: ignore class types when filtering workflow steps

* chore: add TODO for record method in RDLoop

* lint
This commit is contained in:
you-n-g
2025-07-17 15:50:41 +08:00
committed by GitHub
parent 32ecc61153
commit ec1a5e7a88
2 changed files with 5 additions and 1 deletions
+3
View File
@@ -87,3 +87,6 @@ class RDLoop(LoopBase, metaclass=LoopMeta):
feedback = self.summarizer.generate_feedback(prev_out["running"], self.trace)
logger.log_object(feedback, tag="feedback")
self.trace.hist.append((prev_out["running"], feedback))
# TODO: `def record(self, prev_out: dict[str, Any]):` has already been hard coded into LoopBase
# So we should add it into RDLoop class to make sure every RDLoop Sub Class be aware of it.