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

revert 'add elements to dropdown confirm prompt' #807

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

LawyZheng
Copy link
Collaborator

@LawyZheng LawyZheng commented Sep 11, 2024

🚀 This description was created by Ellipsis for commit 13dc2d0

Summary:

Reverted changes to remove HTML elements from dropdown confirmation prompt and adjusted handler function accordingly.

Key points:

  • Reverted changes in skyvern/forge/prompts/skyvern/opened-dropdown-confirm.j2 to remove elements from the JSON response.
  • Updated skyvern/webeye/actions/handler.py to stop passing HTML elements to the opened-dropdown-confirm prompt in locate_dropdown_menu function.

Generated with ❤️ by ellipsis.dev

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ Changes requested. Reviewed everything up to 13dc2d0 in 15 seconds

More details
  • Looked at 37 lines of code in 2 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_ULRnNu3ozHJrhoBh


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

elements=head_element.build_HTML(need_trim_element=False, need_skyvern_attrs=False),
)
# TODO: better to send untrimmed HTML without skyvern attributes in the future
dropdown_confirm_prompt = prompt_engine.load_prompt("opened-dropdown-confirm")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the elements from the prompt might affect the accuracy of dropdown detection. Consider if this change aligns with the intended functionality.

@LawyZheng LawyZheng merged commit b440981 into main Sep 11, 2024
2 checks passed
@LawyZheng LawyZheng deleted the lawy/revert-dropdown-confirm-prompt branch September 11, 2024 04:59
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