mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 17:18:29 +00:00
fix logging now all tests should pass
This commit is contained in:
@@ -645,8 +645,8 @@ class Crew(BaseModel):
|
||||
self, task: Task, agent: Optional[BaseAgent], color: str = "bold_purple"
|
||||
):
|
||||
role = agent.role if agent else "None"
|
||||
self._logger.log("debug", f"Working Agent: {role}", color=color)
|
||||
self._logger.log("info", f"Starting Task: {task.description}", color=color)
|
||||
self._logger.log("debug", f"== Working Agent: {role}", color=color)
|
||||
self._logger.log("info", f"== Starting Task: {task.description}", color=color)
|
||||
if self.output_log_file:
|
||||
self._file_handler.log(agent=role, task=task.description, status="started")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user