use memory index to get the last user message

This commit is contained in:
seehi 2024-09-10 20:05:56 +08:00
parent 5d21d255e4
commit d077cd0b2f
4 changed files with 16 additions and 27 deletions

View file

@ -157,3 +157,6 @@ SWE_SETUP_PATH = get_metagpt_package_root() / "metagpt/tools/swe_agent_commands/
# experience pool
EXPERIENCE_MASK = "<experience>"
# Used to identify user requirements in the memory index.
USER_REQUIREMENT = "metagpt.actions.add_requirement.UserRequirement"