updating manager llm pydantic error

This commit is contained in:
João Moura
2024-05-02 23:39:56 -03:00
parent 2340a127d6
commit 552dda46f8
2 changed files with 2 additions and 5 deletions

View File

@@ -175,8 +175,8 @@ class Crew(BaseModel):
not self.manager_llm and not self.manager_agent
):
raise PydanticCustomError(
"missing_manager_llm",
"Attribute `manager_llm` is required when using hierarchical process.",
"missing_manager_llm_or_manager_agent",
"Attribute `manager_llm` or `manager_agent` is required when using hierarchical process.",
{},
)
return self