Skip to content

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

not call LLM in global

shenchuchengddc0d3faa427
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index c25cd947c..fe61b9878 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -152,7 +152,7 @@ class Role(BaseModel):
builtin_class_name: str = ""
_private_attributes = {
- "_llm": LLM() if not is_human else HumanProvider(),
+ "_llm": None,
"_role_id": _role_id,
"_states": [],
"_actions": [],