-
Notifications
You must be signed in to change notification settings - Fork 780
[Tiny Agents] Add tools to config #3242
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
base: main
Are you sure you want to change the base?
[Tiny Agents] Add tools to config #3242
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
what does Claude say the behavior should be if specify both 'include' and 'exclude'? 😀
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.
Back to work Claude! 😁
@claude address the comments |
Claude encountered an error —— View job
I'll analyze this and get back to you. |
@claude address the comments |
Claude encountered an error —— View job
I'll analyze this and get back to you. |
- Replace complex include/exclude structure with simple allowed_tools list - Follow OpenAI specs for tool filtering (allowlist approach only) - Simplify _filter_tools method to use list comprehension - Update type definitions in types.py - Remove example files as requested by maintainers - Add comprehensive unit tests for allowed_tools functionality This addresses PR feedback from @julien-c and @Wauplin: - Eliminates confusion about include/exclude precedence - Aligns with industry standards (OpenAI) - Provides cleaner, simpler API 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
This PR enables tools inclusion/exclusion for a given agent. Users can specify the tools to include/exclude like so:
Note: this feature was implemented using Claude Code.