Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/agent_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
7 changes: 3 additions & 4 deletions examples/example.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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"
Expand Down Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down