Skip to content

Commit

Permalink
polishing
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Jan 28, 2025
1 parent 86442d3 commit 474cb01
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions autogen/tools/experimental/browser_use/browser_use.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

from pydantic import BaseModel

from ....doc_utils import export_module
from ....import_utils import optional_import_block, require_optional_import
from ... import Depends, Tool

Expand All @@ -19,8 +20,7 @@
__all__ = ["BrowserUseResult", "BrowserUseTool"]


# todo: add export_module decorator
# @export_module("autogen.tools.experimental.browser_use")
@export_module("autogen.tools.experimental.browser_use")
class BrowserUseResult(BaseModel):
"""The result of using the browser to perform a task.
Expand All @@ -44,8 +44,7 @@ def inner(_x: T = x) -> T:


@require_optional_import(["langchain_openai", "browser_use"], "browser-use")
# todo: add export_module decorator
# @export_module("autogen.tools.experimental")
@export_module("autogen.tools.experimental")
class BrowserUseTool(Tool):
"""BrowserUseTool is a tool that uses the browser to perform a task."""

Expand Down

0 comments on commit 474cb01

Please sign in to comment.