File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -66,6 +66,9 @@ async def _create_session(self):
6666 if hasattr (self , "model_client_options" ) and self .model_client_options :
6767 payload ["modelClientOptions" ] = self .model_client_options
6868
69+ if hasattr (self , "experimental" ) and self .experimental :
70+ payload ["experimental" ] = self .experimental
71+
6972 def get_version (package_str ):
7073 try :
7174 result = version (package_str )
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ def __init__(
263263 self .context : Optional [StagehandContext ] = None
264264 self .use_api = self .config .use_api
265265 self .experimental = self .config .experimental
266- if self .experimental or self . env == "LOCAL" :
266+ if self .env == "LOCAL" :
267267 self .use_api = False
268268 if (
269269 self .browserbase_session_create_params
You can’t perform that action at this time.
0 commit comments