From 60afa58781930c46ddac11de29ed321a0c8252d7 Mon Sep 17 00:00:00 2001 From: a2a-cloud Date: Mon, 8 Jun 2026 23:06:03 +0000 Subject: [PATCH] write agent.py --- agent.py | 1 + 1 file changed, 1 insertion(+) diff --git a/agent.py b/agent.py index 6a6229f..727866f 100644 --- a/agent.py +++ b/agent.py @@ -406,6 +406,7 @@ class SeleniumbaseWebsiteScraper(A2AAgent[SeleniumbaseWebsiteScraperConfig, NoAu break if len(all_items) >= int(min_items): decisions.append({"step": step, "action": "stop", "reason": "min_items reached", "confidence": 1.0}) + step_logs[-1]["decision"] = {"stop": True, "reason": "min_items reached"} break # Ask planner what to do next