not call LLM in global

This commit is contained in:
shenchucheng 2023-12-24 03:52:29 +08:00
parent 0eef8a8607
commit 1f311aa408

View file

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