not call LLM in global

This commit is contained in:
shenchucheng 2023-12-24 03:52:29 +08:00
parent b4552938e6
commit ddc0d3faa4

View file

@ -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": [],