Commit a2fc886
authored
refactor-agent-stable (browser-use#2355)
Auto-generated PR for branch: refactor-agent-stable
<!-- This is an auto-generated description by cubic. -->
---
## Summary by cubic
Removed all planner-related functionality from the Agent class and
refactored step execution for better performance and error handling.
- **Refactors**
- Deprecated and ignored planner parameters, logging warnings if used.
- Removed planner methods and related code paths.
- Combined LLM interaction and action execution into a single try block.
- Improved error handling and logging for step execution.
- Added a fallback method in browser session to return a minimal state
summary if full state retrieval fails.
<!-- End of auto-generated description by cubic. -->3 files changed
Lines changed: 291 additions & 289 deletions
0 commit comments