write agent.py
This commit is contained in:
1
agent.py
1
agent.py
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user