MCPcopy Create free account
hub / github.com/HKUDS/AutoAgent / debug_string

Method debug_string

autoagent/flow/types.py:101–104  ·  view source on GitHub ↗
(self, exclude_events: Optional[set[str]] = None)

Source from the content-addressed store, hash-verified

99 self.meta = {"func_body": function_or_method_to_string(self.func_inst)}
100
101 def debug_string(self, exclude_events: Optional[set[str]] = None) -> str:
102 exclude_events = exclude_events or set([self.id])
103 parents_str = format_parents(self.parent_groups, exclude_events=exclude_events)
104 return f"{self.repr_name}\n{parents_str}"
105
106 def __repr__(self) -> str:
107 return f"Node(source={self.repr_name})"

Callers 1

format_parentsFunction · 0.80

Calls 1

format_parentsFunction · 0.85

Tested by

no test coverage detected