Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement/page summary #518

Merged
merged 2 commits into from
Feb 2, 2025
Merged

Enhancement/page summary #518

merged 2 commits into from
Feb 2, 2025

Conversation

MagMueller
Copy link
Collaborator

This pull request includes several changes to the browser_use/agent module to enhance the handling of page summaries, improve the task memory, and update the testing and logging mechanisms. The most important changes include updates to the AgentOutput structure, improvements to the important_rules method, and modifications to the test cases.

Enhancements to AgentOutput structure:

Improvements to task memory and instructions:

  • browser_use/agent/prompts.py: Added detailed instructions for page_summary in the important_rules method and included new guidelines for handling long tasks and extraction tasks. [1] [2]
  • browser_use/agent/prompts.py: Modified the get_user_message method to include markers for task history memory and current state.

Updates to testing and logging:

These changes aim to improve the agent's ability to handle and log detailed page summaries, maintain comprehensive task memory, and ensure robust testing and logging practices.

@MagMueller MagMueller merged commit 24f16e3 into main Feb 2, 2025
3 checks passed
@MagMueller MagMueller deleted the Enhancement/page-summary branch February 2, 2025 02:05
themurphyalex pushed a commit to themurphyalex/iprestanda_browser_ai that referenced this pull request Feb 14, 2025
AryamanParida pushed a commit to AryamanParida/browser-use that referenced this pull request Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant