-
Notifications
You must be signed in to change notification settings - Fork 89
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
Implement tool removal command #35 #49
Conversation
This is incredible! Thank you for the contribution. A few notes: It looks like It might be a great idea to change package from |
I see that now; I didn't have an agent defined in my test installation and hadn't dug far enough into the code to fully understand that. Add/remove from the agents in crew.py is now implemented. |
Now supports |
check, check, check 😎 |
those last few nits on |
AgentStack/agentstack/templates/crewai/{{cookiecutter.project_metadata.project_slug}}/pyproject.toml Line 12 in 2ebaa93
|
i see! okay then i like it as is. I'll resolve the comments and this looks good to go! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolutely great work 🙏
remove_tool
will delete the tool's py file, remove it from imports and instruct the user to uninstall dependencies.It does not delete the
.env
variables, since I thought we might not want to delete user data.Verifies that a tool is installed before removing, and verifies it is not installed before adding.
Also removed the code for
add_tool_to_agent_definition
since it looks like that's covered by decorators now.