diff --git a/agent_v0/agent_v1/core/executor.py b/agent_v0/agent_v1/core/executor.py index d273743ea..d3d0f9a34 100644 --- a/agent_v0/agent_v1/core/executor.py +++ b/agent_v0/agent_v1/core/executor.py @@ -1349,7 +1349,7 @@ class ActionExecutorV1: # (ex: Ctrl+S a sauvé sans dialogue), soit l'app # est dans un état différent. L'humain montre. human_actions = self._capture_human_correction( - timeout_s=120, + timeout_s=30, ) if human_actions: result["success"] = True @@ -1612,7 +1612,7 @@ class ActionExecutorV1: pass human_actions = self._capture_human_correction( - timeout_s=120, + timeout_s=30, ) if human_actions: result["success"] = True @@ -1671,7 +1671,7 @@ class ActionExecutorV1: pass human_actions = self._capture_human_correction( - timeout_s=120, + timeout_s=30, ) if human_actions: # L'humain a montré un mini-workflow @@ -1967,7 +1967,7 @@ class ActionExecutorV1: ) except Exception: pass - human_actions = self._capture_human_correction(timeout_s=120) + human_actions = self._capture_human_correction(timeout_s=30) if human_actions: result["success"] = True result["resolution_method"] = "human_supervised" @@ -2060,7 +2060,7 @@ class ActionExecutorV1: pass human_actions = self._capture_human_correction( - timeout_s=120, + timeout_s=30, ) if human_actions: result["success"] = True @@ -3462,7 +3462,7 @@ Example: x_pct=0.50, y_pct=0.30""" # Hotkey pour signaler la fin de la correction humaine _LEARNING_DONE_HOTKEY = {Key.ctrl_l, Key.shift, KeyCode.from_char("l")} - def _capture_human_correction(self, timeout_s: float = 120.0) -> list[dict]: + def _capture_human_correction(self, timeout_s: float = 30.0) -> list[dict]: """Capturer un mini-workflow de correction humaine. Léa est perdue — elle passe en mode capture et enregistre