mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 01:36:29 +02:00
update exp_pool example
This commit is contained in:
parent
0510da5295
commit
6f84110e0f
1 changed files with 1 additions and 2 deletions
|
|
@ -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}`.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue