MCPcopy Create free account
hub / github.com/aiwaves-cn/agents / __init__

Method __init__

src/agents/task/solution.py:33–39  ·  view source on GitHub ↗
(self, config_path_or_dict: Union[str, dict] = None)

Source from the content-addressed store, hash-verified

31 required_fields = ["agent_team", "sop"]
32
33 def __init__(self, config_path_or_dict: Union[str, dict] = None) -> None:
34 super().__init__(config_path_or_dict)
35 self._validate_config()
36
37 self.task = self.config_dict.get("task", None)
38 self.agent_team = self.config_dict["agent_team"]
39 self.sop = self.config_dict["sop"]
40
41 @classmethod
42 def generate_config(cls, query):

Callers

nothing calls this directly

Calls 2

_validate_configMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected