diff --git a/src/lavague/agents.py b/src/lavague/agents.py index ef90bc99..fda4d2b8 100644 --- a/src/lavague/agents.py +++ b/src/lavague/agents.py @@ -56,6 +56,7 @@ def run(self, objective, display=True): context = "\n".join(nodes) for _ in range(N_ATTEMPTS): try: + error = "" url = self.driver.current_url success = True action = action_engine.action_from_context(context, query)