diff --git a/pyproject.toml b/pyproject.toml index 3caf4c7fb..f21524c68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "crewai" -version = "0.16.0" +version = "0.16.1" description = "Cutting-edge framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks." authors = ["Joao Moura "] readme = "README.md" diff --git a/src/crewai/agent.py b/src/crewai/agent.py index 13870cd49..82b03cf17 100644 --- a/src/crewai/agent.py +++ b/src/crewai/agent.py @@ -290,7 +290,8 @@ class Agent(BaseModel): else: tools_list.append(tool) except ModuleNotFoundError: - tools_list.append(tool) + for tool in tools: + tools_list.append(tool) return tools_list @staticmethod