mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 19:06:23 +02:00
feat: replace global CONTEXT with Config()
fixbug: unit test
This commit is contained in:
parent
ff314388bb
commit
e8b3e6762b
15 changed files with 44 additions and 33 deletions
|
|
@ -38,6 +38,7 @@ class CLIParams(BaseModel):
|
|||
if self.project_path:
|
||||
self.inc = True
|
||||
self.project_name = self.project_name or Path(self.project_path).name
|
||||
return self
|
||||
|
||||
|
||||
class Config(CLIParams, YamlModel):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue