-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat: add flags to disable storing tool and history messages on run output #5029
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
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 14, 2025
dirkbrnd
reviewed
Oct 14, 2025
dirkbrnd
reviewed
Oct 14, 2025
dirkbrnd
reviewed
Oct 14, 2025
dirkbrnd
reviewed
Oct 14, 2025
dirkbrnd
approved these changes
Oct 14, 2025
9 tasks
anuragts
pushed a commit
that referenced
this pull request
Oct 14, 2025
…utput (#5029) ## Summary ```python Agent( store_history_messages=False # Don't store history messages in database store_tool_messages=False # Don't store tool messages in database ) ``` (If applicable, issue number: #\_\_\_\_) ## 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 - [x] Documentation updated (comments, docstrings) - [x] Examples and guides: Relevant cookbook examples have been included or updated (if applicable) - [x] Tested in clean environment - [x] Tests added/updated (if applicable) --- ## Additional Notes Add any important context (deployment instructions, screenshots, security considerations, etc.) --------- Co-authored-by: Dirk Brand <[email protected]>
kausmeows
added a commit
to agno-agi/agno-docs
that referenced
this pull request
Oct 15, 2025
## Description
flags to control what gets stored on session for agent and team
```python
Agent(
store_history_messages=False # Don't store history messages in database
store_tool_messages=False # Don't store tool messages in database
)
```
## Type of Change
- [ ] Bug fix (errors, broken links, outdated info)
- [x] New content
- [ ] Content improvement
- [ ] Other: ____
## Related Issues/PRs (if applicable)
- Related SDK PR: agno-agi/agno#5029
## Checklist
- [ ] Content is accurate and up-to-date
- [ ] All links tested and working
- [ ] Code examples verified (if applicable)
- [ ] Spelling and grammar checked
- [ ] Screenshots updated (if applicable)
---------
Co-authored-by: manu <[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
(If applicable, issue number: #____)
Type of change
Checklist
./scripts/format.shand./scripts/validate.sh)Additional Notes
Add any important context (deployment instructions, screenshots, security considerations, etc.)