update exp_pool example

This commit is contained in:
seehi 2024-06-06 20:18:40 +08:00
parent 0510da5295
commit 6f84110e0f

View file

@ -9,8 +9,7 @@ from metagpt.logs import logger
async def main():
req = "Simple task."
resp = "Simple echo."
exp = Experience(req=req, resp=resp, entry_type=EntryType.MANUAL)
exp = Experience(req=req, resp="echo", entry_type=EntryType.MANUAL)
exp_manager.create_exp(exp)
logger.info(f"New experience created for the request `{req}`.")