fix(agent-chat): execution_status.running manquant en mode local
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user