🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix examples/exp_pool/manager.py error
shenchucheng73b242ccfe88
diff --git a/examples/exp_pool/manager.py b/examples/exp_pool/manager.pyindex ae998214a..5aead08e9 100644--- a/examples/exp_pool/manager.py+++ b/examples/exp_pool/manager.py@@ -6,7 +6,7 @@ This script creates a new experience, logs its creation, and then queries for eximport asyncio-from metagpt.exp_pool import exp_manager+from metagpt.exp_pool import get_exp_managerfrom metagpt.exp_pool.schema import EntryType, Experiencefrom metagpt.logs import logger@@ -15,6 +15,7 @@ async def main():# Define the simple request and responsereq = "Simple req"resp = "Simple resp"+ exp_manager = get_exp_manager()# Add the new experienceexp = Experience(req=req, resp=resp, entry_type=EntryType.MANUAL)