From 052bd8a4f05030d9c15e3c5283045e2cce00a614 Mon Sep 17 00:00:00 2001 From: LeonOstrez Date: Wed, 18 Jun 2025 22:04:04 +0200 Subject: [PATCH] show task description when starting new task --- core/agents/developer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/agents/developer.py b/core/agents/developer.py index 8ed6987550..af9fe61ba7 100644 --- a/core/agents/developer.py +++ b/core/agents/developer.py @@ -381,6 +381,7 @@ class Developer(ChatWithBreakdownMixin, RelevantFilesMixin, BaseAgent): } ] ) + await self.ui.clear_main_logs() await self.send_message(f"Starting task #{task_index} with the description:\n\n## {description}") if self.current_state.run_command: await self.ui.send_run_command(self.current_state.run_command) @@ -398,8 +399,6 @@ class Developer(ChatWithBreakdownMixin, RelevantFilesMixin, BaseAgent): if self.current_state.current_task.get("hardcoded", False): return True - await self.ui.clear_main_logs() - if self.current_state.current_task and self.current_state.current_task.get("hardcoded", False): await self.ui.send_message( "Ok, great, you're now starting to build the backend and the first task is to test how the authentication works. You can now register and login. Your data will be saved into the database.",