-
Notifications
You must be signed in to change notification settings - Fork 45.1k
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
Simple resumption of tasks on startup from long-term memory #2602
Simple resumption of tasks on startup from long-term memory #2602
Conversation
…ory using the prompt and user message.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## master #2602 +/- ##
==========================================
- Coverage 50.76% 43.39% -7.37%
==========================================
Files 65 65
Lines 2935 2938 +3
Branches 492 493 +1
==========================================
- Hits 1490 1275 -215
- Misses 1326 1593 +267
+ Partials 119 70 -49
☔ View full report in Codecov by Sentry. |
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Can you cover this with a bit of testing |
This is a mass message from the AutoGPT core team. For more details (and for infor on joining our Discord), please refer to: |
Thanks for submitting! This is an interesting and seemingly useful addition. At the moment the long-term memory is not in use: it was disabled and mostly removed/reworked (#4208) for lack of performance. I have labeled this with |
Background
Every new run of auto-gpt results in an empty memory line
"This reminds you of these events from your past:\n\n\n"
In order to better resume goals based on previous long term memories, I was having to do a lot of error-prone goal-prompt engineering. This makes the agent more self-aware if it has long-term memory, but also less deterministic.Related pull-request: #2530
This is an alternative approach to the above PR. If one like that or similar is merged, this can be closed.
Changes
Agents will now have relevant memories based on their agent settings file prompt and user input on startup.
Documentation
Inline in the code.
Test Plan
Existing tests pass.
Risks
Risk Mitigation
--wipe-memory
and/or env var (likeWIPE_REDIS_ON_START
). Or, add something likeMEMORY_RESTART_RECALL_MODE=prompt|file_history|None
(file_history could be from this PR FEAT: Add Chat History File Functionality for Efficient Auto-GPT Resumption #2530)PR Quality Checklist