write agent.py

This commit is contained in:
a2a-cloud
2026-06-08 23:06:03 +00:00
parent 6c3d10fd2d
commit 60afa58781

View File

@@ -406,6 +406,7 @@ class SeleniumbaseWebsiteScraper(A2AAgent[SeleniumbaseWebsiteScraperConfig, NoAu
break break
if len(all_items) >= int(min_items): if len(all_items) >= int(min_items):
decisions.append({"step": step, "action": "stop", "reason": "min_items reached", "confidence": 1.0}) decisions.append({"step": step, "action": "stop", "reason": "min_items reached", "confidence": 1.0})
step_logs[-1]["decision"] = {"stop": True, "reason": "min_items reached"}
break break
# Ask planner what to do next # Ask planner what to do next