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

Fix: Ensure ToolRegistry throws errors on duplicate/unregister operations #89

Merged
merged 2 commits into from
Mar 22, 2025

Conversation

chongleon
Copy link

Fix ToolRegistry missing error handling:

  • registerTool now throws an error if the tool is already registered.
  • unregisterTool now throws an error if the tool does not exist.
  • All related unit tests now pass.

@HairlessVillager HairlessVillager self-requested a review March 4, 2025 13:46
@HairlessVillager HairlessVillager merged commit a34a171 into FellouAI:develop Mar 22, 2025
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

Successfully merging this pull request may close these issues.

2 participants