Skip to content

Conversation

@marginal23326
Copy link
Contributor

@marginal23326 marginal23326 commented May 3, 2025

This PR addresses two Gradio deprecation warnings. It fixes the following issues:

  1. ...\web-ui\.venv\Lib\site-packages\gradio\blocks.py:1925: DeprecationWarning: The 'bubble_full_width' parameter is deprecated and will be removed in a future version. This parameter no longer has any effect.

  2. ...\web-ui\src\webui\webui_manager.py:107: UserWarning: You have not specified a value for the 'type' parameter. Defaulting to the 'tuples' format for chatbot messages, but this is deprecated and will be removed in a future version of Gradio. Please set type='messages' instead...


Summary by mrge

Removed deprecated Gradio parameters and set the correct type for chatbot messages to resolve deprecation warnings.

  • Bug Fixes
    • Removed the unused bubble_full_width parameter.
    • Set type="messages" for chatbot components to avoid future warnings.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

mrge reviewed 2 files and found no issues. Review this PR in mrge.io.

@warmshao warmshao merged commit bf8afa8 into browser-use:main May 4, 2025
2 checks passed
@marginal23326 marginal23326 deleted the fix/gradio-deprecation-warnings branch May 4, 2025 02:44
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.

2 participants