@@ -62,7 +62,7 @@ def __init__(
6262 browserbase_project_id : str | None = None ,
6363 model_api_key : str | None = None ,
6464 server : Literal ["remote" , "local" ] = "remote" ,
65- local_binary_path : str | os .PathLike [str ] | None = None ,
65+ _local_stagehand_binary_path : str | os .PathLike [str ] | None = None ,
6666 local_host : str = "127.0.0.1" ,
6767 local_port : int = 0 ,
6868 local_headless : bool = True ,
@@ -96,7 +96,7 @@ def __init__(
9696 - `model_api_key` from `MODEL_API_KEY`
9797 """
9898 self ._server_mode : Literal ["remote" , "local" ] = server
99- self ._local_binary_path = local_binary_path
99+ self ._local_stagehand_binary_path = _local_stagehand_binary_path
100100 self ._local_host = local_host
101101 self ._local_port = local_port
102102 self ._local_headless = local_headless
@@ -136,7 +136,7 @@ def __init__(
136136 openai_api_key = openai_api_key ,
137137 shutdown_on_close = local_shutdown_on_close ,
138138 ),
139- local_binary_path = local_binary_path ,
139+ _local_stagehand_binary_path = _local_stagehand_binary_path ,
140140 )
141141 else :
142142 if base_url is None :
@@ -229,7 +229,7 @@ def copy(
229229 browserbase_project_id : str | None = None ,
230230 model_api_key : str | None = None ,
231231 server : Literal ["remote" , "local" ] | None = None ,
232- local_binary_path : str | os .PathLike [str ] | None = None ,
232+ _local_stagehand_binary_path : str | os .PathLike [str ] | None = None ,
233233 local_host : str | None = None ,
234234 local_port : int | None = None ,
235235 local_headless : bool | None = None ,
@@ -273,7 +273,7 @@ def copy(
273273 browserbase_project_id = browserbase_project_id or self .browserbase_project_id ,
274274 model_api_key = model_api_key or self .model_api_key ,
275275 server = server or self ._server_mode ,
276- local_binary_path = local_binary_path if local_binary_path is not None else self ._local_binary_path ,
276+ _local_stagehand_binary_path = _local_stagehand_binary_path if _local_stagehand_binary_path is not None else self ._local_stagehand_binary_path ,
277277 local_host = local_host or self ._local_host ,
278278 local_port = local_port if local_port is not None else self ._local_port ,
279279 local_headless = local_headless if local_headless is not None else self ._local_headless ,
@@ -346,7 +346,7 @@ def __init__(
346346 browserbase_project_id : str | None = None ,
347347 model_api_key : str | None = None ,
348348 server : Literal ["remote" , "local" ] = "remote" ,
349- local_binary_path : str | os .PathLike [str ] | None = None ,
349+ _local_stagehand_binary_path : str | os .PathLike [str ] | None = None ,
350350 local_host : str = "127.0.0.1" ,
351351 local_port : int = 0 ,
352352 local_headless : bool = True ,
@@ -380,7 +380,7 @@ def __init__(
380380 - `model_api_key` from `MODEL_API_KEY`
381381 """
382382 self ._server_mode : Literal ["remote" , "local" ] = server
383- self ._local_binary_path = local_binary_path
383+ self ._local_stagehand_binary_path = _local_stagehand_binary_path
384384 self ._local_host = local_host
385385 self ._local_port = local_port
386386 self ._local_headless = local_headless
@@ -419,7 +419,7 @@ def __init__(
419419 openai_api_key = openai_api_key ,
420420 shutdown_on_close = local_shutdown_on_close ,
421421 ),
422- local_binary_path = local_binary_path ,
422+ _local_stagehand_binary_path = _local_stagehand_binary_path ,
423423 )
424424 else :
425425 if base_url is None :
@@ -512,7 +512,7 @@ def copy(
512512 browserbase_project_id : str | None = None ,
513513 model_api_key : str | None = None ,
514514 server : Literal ["remote" , "local" ] | None = None ,
515- local_binary_path : str | os .PathLike [str ] | None = None ,
515+ _local_stagehand_binary_path : str | os .PathLike [str ] | None = None ,
516516 local_host : str | None = None ,
517517 local_port : int | None = None ,
518518 local_headless : bool | None = None ,
@@ -556,7 +556,7 @@ def copy(
556556 browserbase_project_id = browserbase_project_id or self .browserbase_project_id ,
557557 model_api_key = model_api_key or self .model_api_key ,
558558 server = server or self ._server_mode ,
559- local_binary_path = local_binary_path if local_binary_path is not None else self ._local_binary_path ,
559+ _local_stagehand_binary_path = _local_stagehand_binary_path if _local_stagehand_binary_path is not None else self ._local_stagehand_binary_path ,
560560 local_host = local_host or self ._local_host ,
561561 local_port = local_port if local_port is not None else self ._local_port ,
562562 local_headless = local_headless if local_headless is not None else self ._local_headless ,
0 commit comments