In examples/cli_cluster.py, the example prompts user for which tools they would like to use as well as define this function. https://github.com/Talus-Network/nexus/blob/main/examples/cli_cluster.py def setup_tools(self, cluster_id, cluster_owner_cap_id): for tool in self.tools: self.attach_tool_to_task( cluster_id=cluster_id, cluster_owner_cap_id=cluster_owner_cap_id, task_name=tool["task_name"], tool_name=tool["tool_name"], tool_args=tool["tool_args"], ) But, this function is not called in the run function and so are the tools ever attached to the tasks?
In examples/cli_cluster.py, the example prompts user for which tools they would like to use as well as define this function.
https://github.com/Talus-Network/nexus/blob/main/examples/cli_cluster.py
def setup_tools(self, cluster_id, cluster_owner_cap_id):
for tool in self.tools:
self.attach_tool_to_task(
cluster_id=cluster_id,
cluster_owner_cap_id=cluster_owner_cap_id,
task_name=tool["task_name"],
tool_name=tool["tool_name"],
tool_args=tool["tool_args"],
)