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
3 changes: 3 additions & 0 deletions stagehand/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ async def _create_session(self):
if hasattr(self, "model_client_options") and self.model_client_options:
payload["modelClientOptions"] = self.model_client_options

if hasattr(self, "experimental") and self.experimental:
payload["experimental"] = self.experimental

def get_version(package_str):
try:
result = version(package_str)
Expand Down
2 changes: 1 addition & 1 deletion stagehand/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def __init__(
self.context: Optional[StagehandContext] = None
self.use_api = self.config.use_api
self.experimental = self.config.experimental
if self.experimental or self.env == "LOCAL":
if self.env == "LOCAL":
self.use_api = False
if (
self.browserbase_session_create_params
Expand Down