From 14376363646ff14fdf9fea5c480cf549aa92072c Mon Sep 17 00:00:00 2001 From: Ahmed Awelkair A <108264625+a7m-1st@users.noreply.github.com> Date: Wed, 15 Oct 2025 18:22:52 +0300 Subject: [PATCH] Apply suggestion from @Saedbhati Co-authored-by: Saed Bhati <105969318+Saedbhati@users.noreply.github.com> --- backend/app/service/chat_service.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/app/service/chat_service.py b/backend/app/service/chat_service.py index ff4968abc..df09e7d5c 100644 --- a/backend/app/service/chat_service.py +++ b/backend/app/service/chat_service.py @@ -232,6 +232,7 @@ async def step_solve(options: Chat, request: Request, task_lock: TaskLock): except Exception as e: logger.error(f"[CHAT] Error processing multi-turn task: {e}") # Continue with existing context if decomposition fails + yield sse_json("error", {"message": f"Failed to process task: {str(e)}"}) elif item.action == Action.create_agent: yield sse_json("create_agent", item.data) elif item.action == Action.activate_agent: