mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-09 15:52:38 +02:00
fix conflict
This commit is contained in:
commit
0f2f460ddc
7 changed files with 17 additions and 13 deletions
|
|
@ -171,6 +171,6 @@ class SimpleEngine(RetrieverQueryEngine):
|
|||
def _try_reconstruct_obj(nodes: list[NodeWithScore]):
|
||||
"""If node is object, then dynamically reconstruct object, and save object to node.metadata["obj"]."""
|
||||
for node in nodes:
|
||||
if node.metadata.get("is_obj"):
|
||||
if node.metadata.get("is_obj", False):
|
||||
obj_cls = import_class(node.metadata["obj_cls_name"], node.metadata["obj_mod_name"])
|
||||
node.metadata["obj"] = obj_cls(**node.metadata["obj_dict"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue