write agent.py
This commit is contained in:
3
agent.py
3
agent.py
@@ -425,6 +425,9 @@ class SeleniumbaseWebsiteScraper(A2AAgent[SeleniumbaseWebsiteScraperConfig, NoAu
|
||||
},
|
||||
ensure_ascii=False,
|
||||
)
|
||||
if planner is None:
|
||||
decisions.append({"step": step, "action": "stop", "reason": "planner unavailable", "confidence": 0.0})
|
||||
break
|
||||
state = await planner.ainvoke(
|
||||
{"messages": [{"role": "user", "content": prompt}]},
|
||||
config={"recursion_limit": DEEPAGENTS_RECURSION_LIMIT},
|
||||
|
||||
Reference in New Issue
Block a user