mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
feat: replace CONFIG with OPTIONS
This commit is contained in:
parent
7895af2c5a
commit
00f1e18820
1 changed files with 3 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ import asyncio
|
|||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
from metagpt.config import CONFIG
|
||||
|
||||
sys.path.append(str(Path(__file__).resolve().parent.parent))
|
||||
import aiofiles
|
||||
import 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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue