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

fix: ensure save_conversation_path ends with a slash and add tests for conversation logging #570

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

takeyaqa
Copy link
Contributor

@takeyaqa takeyaqa commented Feb 5, 2025

fix: #305

This pull request introduces changes to handle the save_conversation_path more robustly in the Agent class and adds tests to ensure the functionality works as expected. The most important changes include modifying the initialization of the save_conversation_path attribute, updating the documentation to reflect the new behavior, and adding comprehensive tests.

Changes to save_conversation_path handling:

Documentation updates:

Added tests:

  • tests/test_save_conversation.py: Added tests to verify the save_conversation_path functionality, including cases with and without slashes and deep directory structures.

@CLAassistant
Copy link

CLAassistant commented Feb 5, 2025

CLA assistant check
All committers have signed the CLA.

@MagMueller MagMueller merged commit 5e0af71 into browser-use:main Feb 12, 2025
2 checks passed
@takeyaqa takeyaqa deleted the fix_save_conversation_path branch February 12, 2025 07:09
AryamanParida pushed a commit to AryamanParida/browser-use that referenced this pull request Mar 7, 2025
…n_path

fix: ensure save_conversation_path ends with a slash and add tests for conversation logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants