diff --git a/examples/agent_example.py b/examples/agent_example.py index c9f0a24..9d7e9b7 100644 --- a/examples/agent_example.py +++ b/examples/agent_example.py @@ -100,7 +100,7 @@ async def main(): # Add a fancy header console.print( "\n", - Panel.fit( + Panel( "[light_gray]Stagehand 🤘 Agent Example[/]", border_style="green", padding=(1, 10), diff --git a/examples/example.py b/examples/example.py index c006792..5f86ef5 100644 --- a/examples/example.py +++ b/examples/example.py @@ -7,8 +7,7 @@ from rich.panel import Panel from rich.theme import Theme -from stagehand import Stagehand, StagehandConfig -from stagehand.utils import configure_logging +from stagehand import Stagehand, StagehandConfig, configure_logging # Configure logging with cleaner format configure_logging( @@ -35,7 +34,7 @@ load_dotenv() console.print( - Panel.fit( + Panel( "[yellow]Logging Levels:[/]\n" "[white]- Set [bold]verbose=0[/] for errors (ERROR)[/]\n" "[white]- Set [bold]verbose=1[/] for minimal logs (INFO)[/]\n" @@ -127,7 +126,7 @@ async def main(): # Add a fancy header console.print( "\n", - Panel.fit( + Panel( "[light_gray]Stagehand 🤘 Python Example[/]", border_style="green", padding=(1, 10), diff --git a/pyproject.toml b/pyproject.toml index 0da4a48..fe7b7f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ description = "Python SDK for Stagehand" readme = "README.md" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent",] requires-python = ">=3.9" -dependencies = [ "httpx>=0.24.0", "python-dotenv>=1.0.0", "pydantic>=1.10.0", "playwright>=1.42.1", "requests>=2.31.0", "browserbase>=1.4.0", "rich>=14.0.0", "openai>=1.83.0", "anthropic>=0.51.0", "litellm>=1.72.0",] +dependencies = [ "httpx>=0.24.0", "python-dotenv>=1.0.0", "pydantic>=1.10.0", "playwright>=1.42.1", "requests>=2.31.0", "browserbase>=1.4.0", "rich>=13.7.0", "openai>=1.83.0", "anthropic>=0.51.0", "litellm>=1.72.0",] [[project.authors]] name = "Browserbase, Inc." email = "support@browserbase.com"