From e802a2b86664190911e9fbfedd869225c3b18da4 Mon Sep 17 00:00:00 2001 From: Lorenze Jay Date: Mon, 15 Jul 2024 09:29:11 -0700 Subject: [PATCH] fixed printing colors --- src/crewai/memory/storage/kickoff_task_outputs_storage.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/crewai/memory/storage/kickoff_task_outputs_storage.py b/src/crewai/memory/storage/kickoff_task_outputs_storage.py index ff349f2b0..57623eef8 100644 --- a/src/crewai/memory/storage/kickoff_task_outputs_storage.py +++ b/src/crewai/memory/storage/kickoff_task_outputs_storage.py @@ -112,14 +112,10 @@ class KickoffTaskOutputsSQLiteStorage: if cursor.rowcount == 0: self._printer.print( f"No row found with task_index {task_index}. No update performed.", - color="yellow", - ) - else: - self._printer.print( - f"Updated row with task_index {task_index}.", color="green" + color="red", ) except sqlite3.Error as e: - self._printer.print(f"UPDATE ERROR: {e}", color="red") + self._printer.print(f"UPDATE KICKOFF TASK OUTPUTS ERROR: {e}", color="red") def load(self) -> Optional[List[Dict[str, Any]]]: try: