🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
feat: replace CONFIG with OPTIONS
莘权 马00f1e1882036
diff --git a/examples/write_teaching_plan.py b/examples/write_teaching_plan.pyindex 2a9c4c0e5..191547193 100644--- a/examples/write_teaching_plan.py+++ b/examples/write_teaching_plan.py@@ -11,6 +11,8 @@ import asynciofrom pathlib import Pathimport sys+from metagpt.config import CONFIG+sys.path.append(str(Path(__file__).resolve().parent.parent))import aiofilesimport fire@@ -66,6 +68,7 @@ async def startup(lesson_file: str, investment: float = 3.0, n_round: int = 1, *3c Match the big letters with the small ones. Then write them on the lines."""+ CONFIG.set_context(kwargs)lesson = ""if lesson_file and Path(lesson_file).exists():