Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI Cluster Use of Tools #11

Open
ryyeung opened this issue Nov 23, 2024 · 0 comments
Open

CLI Cluster Use of Tools #11

ryyeung opened this issue Nov 23, 2024 · 0 comments

Comments

@ryyeung
Copy link

ryyeung commented Nov 23, 2024

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?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant