MCPcopy Create free account
hub / github.com/LazyAGI/LazyCraft / __init__

Method __init__

back/src/core/node.py:799–805  ·  view source on GitHub ↗
(self, nodedata)

Source from the content-addressed store, hash-verified

797 algorithm: str
798
799 def __init__(self, nodedata):
800 super().__init__(nodedata)
801 self.llm = self.get_data().get("payload__base_model")
802 self.tools = self.get_data().get("payload__tools", [])
803 self.algorithm = self.get_data().get("payload__algorithm")
804 self.set_used_resources("llm", self.llm)
805 self.set_used_resources("tools", self.tools)
806
807 def _to_dict(self, result):
808 result["args"] = {

Callers

nothing calls this directly

Calls 4

__init__Method · 0.45
getMethod · 0.45
get_dataMethod · 0.45
set_used_resourcesMethod · 0.45

Tested by

no test coverage detected