From 766c57e12660702e227ac4f5ac49c6dddcb36d46 Mon Sep 17 00:00:00 2001 From: Dom Date: Sat, 14 Mar 2026 17:31:36 +0100 Subject: [PATCH] fix(agent-chat): execution_status.running manquant en mode local MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Le fallback d'exécution locale ne mettait pas execution_status["running"] à True, ce qui causait l'arrêt immédiat de la boucle d'exécution avec "Exécution annulée par l'utilisateur" dès la première étape. Co-Authored-By: Claude Opus 4.6 --- agent_chat/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/agent_chat/app.py b/agent_chat/app.py index aee3fbc60..d793d6818 100644 --- a/agent_chat/app.py +++ b/agent_chat/app.py @@ -1052,6 +1052,11 @@ def execute_workflow(match, params): # Fallback : exécution locale logger.info("Streaming server indisponible, exécution locale") + execution_status["running"] = True + execution_status["workflow"] = match.workflow_name + execution_status["progress"] = 0 + execution_status["message"] = "Démarrage (exécution locale)..." + try: # Charger le workflow with open(match.workflow_path, 'r') as f: