-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat: Filter tool calls from history #5073
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dirkbrnd
reviewed
Oct 17, 2025
9 tasks
dirkbrnd
reviewed
Oct 19, 2025
manuhortet
approved these changes
Oct 20, 2025
dirkbrnd
reviewed
Oct 21, 2025
Mustafa-Esoofally
added a commit
that referenced
this pull request
Oct 23, 2025
## Summary Adds ability to filter a number of tool calls from history. Useful for when agent has multiple runs but only previous N tool call pairs are needed ## Type of change - [ ] Bug fix - [x] New feature - [ ] Breaking change - [ ] Improvement - [ ] Model update - [ ] Other: --- ## Checklist - [x] Code complies with style guidelines - [x] Ran format/validation scripts (`./scripts/format.sh` and `./scripts/validate.sh`) - [x] Self-review completed - [ ] Documentation updated (comments, docstrings) - [ ] Examples and guides: Relevant cookbook examples have been included or updated (if applicable) - [ ] Tested in clean environment - [ ] Tests added/updated (if applicable) --------- Co-authored-by: Kaustubh <[email protected]> Co-authored-by: Yash Pratap Solanky <[email protected]> Co-authored-by: manu <[email protected]>
dirkbrnd
added a commit
to agno-agi/agno-docs
that referenced
this pull request
Oct 23, 2025
## Description Adds guide for tool call filtering ## Type of Change - [ ] Bug fix (errors, broken links, outdated info) - [x] New content - [ ] Content improvement - [ ] Other: ____ ## Related Issues/PRs (if applicable) <!-- Link any related items --> - Closes #____ - Related SDK PR: agno-agi/agno#5073 ## Checklist - [x] Content is accurate and up-to-date - [x] All links tested and working - [x] Code examples verified (if applicable) - [x] Spelling and grammar checked - [ ] Screenshots updated (if applicable) --------- Co-authored-by: Dirk Brand <[email protected]> Co-authored-by: manuhortet <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds ability to filter a number of tool calls from history. Useful for when agent has multiple runs but only previous N tool call pairs are needed
Type of change
Checklist
./scripts/format.shand./scripts/validate.sh)