[Bug] Custom agents persist in list and dropdowns after "successful" removal
Description
I encountered an issue where custom-built agents cannot be permanently deleted. Even though the UI displays a success message, the agent remains functional and visible in various menus.
Actual Behavior
The agent is still present in the list and can still be selected in the model/mode dropdown menus. The "removal" appears to be purely cosmetic or fails to sync with the backend/config file.
Expected Behavior
The agent should be completely removed from the system, and it should no longer appear in the list or any selection dropdowns after the success message is shown.
Additional Context
Attempted Fixes: I have tried closing and restarting VS Code, but the deleted mode still persist.
Plugins
No response
Kilo version
7.2.3
Steps to reproduce
- Create a custom agent.
- Go to the agent list or enter Edit Mode.
- Click the Remove button for the specific agent.
- The system displays a toast notification: "Successfully removed xxxx".
- Check the agent list, the "Models" selector, or the conversation dropdown menu.
Screenshot and/or share link
No response
Operating System
Windows
Terminal
No response
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please reopen it or create a fresh new one.