Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

feat: Remove global configuration CONFIG

莘权 马d764b8e6fa3f
diff --git a/metagpt/config.py b/metagpt/config.py
index 6f3f9732a..6e2cf0a3f 100644
--- a/metagpt/config.py
+++ b/metagpt/config.py
@@ -29,7 +29,7 @@ class NotConfiguredException(Exception):
super().__init__(self.message)
-class Config(metaclass=Singleton):
+class Config:
"""
For example:
@@ -40,7 +40,6 @@ class Config(metaclass=Singleton):
```
"""
- _instance = None
key_yaml_file = PROJECT_ROOT / "config/key.yaml"
default_yaml_file = PROJECT_ROOT / "config/config.yaml"