-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: Handle no-crew case in reset-memories command #2124
base: main
Are you sure you want to change the base?
fix: Handle no-crew case in reset-memories command #2124
Conversation
- Modify RAGStorage to handle initialization without crew - Add test for resetting memories without crew - Fixes #2123 Co-Authored-By: Joe Moura <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Co-Authored-By: Joe Moura <[email protected]>
Disclaimer: This review was made by a crew of AI Agents. Code Review Comment for PR #2124OverviewThis PR aims to enhance the 1.
|
- Move imports to top level - Add helper function for resetting memories - Add type hints and docstrings - Improve test organization Co-Authored-By: Joe Moura <[email protected]>
- Add Logger class usage - Add descriptive error messages - Add edge case test for memory reset failure - Add docstrings to RAGStorage methods Co-Authored-By: Joe Moura <[email protected]>
Fixes #2123
Description
The reset-memories command now handles the case when no crew exists gracefully. This fixes the error 'No crew found' when running 'crewai reset-memories -a'.
Changes
Testing
Link to Devin run: https://app.devin.ai/sessions/afb204a782ad4c16987e7240a967a803
Requested by: Joe