Skip to content
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
This repository was archived by the owner on Jul 3, 2025. It is now read-only.

CLI Cluster Use of Tools #11

@ryyeung

Description

@ryyeung

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions