Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
Updating logs and preparing new version
João Moura80013147182f
diff --git a/pyproject.toml b/pyproject.tomlindex c228e41cf..bdd9d4b3c 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[tool.poetry]name = "crewai"-version = "0.63.4"+version = "0.63.5"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 <[email protected]>"]readme = "README.md"diff --git a/src/crewai/agents/crew_agent_executor.py b/src/crewai/agents/crew_agent_executor.pyindex 7e578f127..81aa2a740 100644--- a/src/crewai/agents/crew_agent_executor.py+++ b/src/crewai/agents/crew_agent_executor.py@@ -166,8 +166,9 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):if self.agent.verbose or (hasattr(self, "crew") and getattr(self.crew, "verbose", False)):+ agent_role = self.agent.role.split("\n")[0]self._printer.print(- content=f"\033[1m\033[95m# Agent:\033[00m \033[1m\033[92m{self.agent.role}\033[00m"+ content=f"\033[1m\033[95m# Agent:\033[00m \033[1m\033[92m{agent_role}\033[00m")self._printer.print(content=f"\033[95m## Task:\033[00m \033[92m{self.task.description}\033[00m"@@ -177,6 +178,7 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):if self.agent.verbose or (hasattr(self, "crew") and getattr(self.crew, "verbose", False)):+ agent_role = self.agent.role.split("\n")[0]if isinstance(formatted_answer, AgentAction):thought = re.sub(r"\n+", "\n", formatted_answer.thought)formatted_json = json.dumps(@@ -185,7 +187,7 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):ensure_ascii=False,)self._printer.print(- content=f"\n\n\033[1m\033[95m# Agent:\033[00m \033[1m\033[92m{self.agent.role}\033[00m"+ content=f"\n\n\033[1m\033[95m# Agent:\033[00m \033[1m\033[92m{agent_role}\033[00m")if thought and thought != "":self._printer.print(@@ -202,10 +204,10 @@ class CrewAgentExecutor(CrewAgentExecutorMixin):)elif isinstance(formatted_answer, AgentFinish):self._printer.print(- content=f"\n\n\033[1m\033[95m# Agent:\033[00m \033[1m\033[92m{self.agent.role}\033[00m"+ content=f"\n\n\033[1m\033[95m# Agent:\033[00m \033[1m\033[92m{agent_role}\033[00m")self._printer.print(- content=f"\033[95m## Final Answer:\033[00m \033[92m\n{formatted_answer.output}\033[00m"+ content=f"\033[95m## Final Answer:\033[00m \033[92m\n{formatted_answer.output}\033[00m\n\n")def _use_tool(self, agent_action: AgentAction) -> Any:diff --git a/src/crewai/tools/tool_usage.py b/src/crewai/tools/tool_usage.pyindex 4ddb17b9e..c30207fd2 100644--- a/src/crewai/tools/tool_usage.py+++ b/src/crewai/tools/tool_usage.py@@ -80,7 +80,6 @@ class ToolUsage:def parse(self, tool_string: str):"""Parse the tool string and return the tool calling."""- print("tool_string", tool_string)return self._tool_calling(tool_string)def use(