@@ -239,6 +239,7 @@ def copy(
239239 browserbase_api_key : str | None = None ,
240240 browserbase_project_id : str | None = None ,
241241 model_api_key : str | None = None ,
242+ model_base_url : str | None = None ,
242243 server : Literal ["remote" , "local" ] | None = None ,
243244 _local_stagehand_binary_path : str | os .PathLike [str ] | None = None ,
244245 local_host : str | None = None ,
@@ -284,6 +285,7 @@ def copy(
284285 browserbase_api_key = browserbase_api_key or self .browserbase_api_key ,
285286 browserbase_project_id = browserbase_project_id or self .browserbase_project_id ,
286287 model_api_key = model_api_key or self .model_api_key ,
288+ model_base_url = model_base_url or self .model_base_url ,
287289 server = server or self ._server_mode ,
288290 _local_stagehand_binary_path = _local_stagehand_binary_path if _local_stagehand_binary_path is not None else self ._local_stagehand_binary_path ,
289291 local_host = local_host or self ._local_host ,
@@ -536,6 +538,7 @@ def copy(
536538 browserbase_api_key : str | None = None ,
537539 browserbase_project_id : str | None = None ,
538540 model_api_key : str | None = None ,
541+ model_base_url : str | None = None ,
539542 server : Literal ["remote" , "local" ] | None = None ,
540543 _local_stagehand_binary_path : str | os .PathLike [str ] | None = None ,
541544 local_host : str | None = None ,
@@ -581,6 +584,7 @@ def copy(
581584 browserbase_api_key = browserbase_api_key or self .browserbase_api_key ,
582585 browserbase_project_id = browserbase_project_id or self .browserbase_project_id ,
583586 model_api_key = model_api_key or self .model_api_key ,
587+ model_base_url = model_base_url or self .model_base_url ,
584588 server = server or self ._server_mode ,
585589 _local_stagehand_binary_path = _local_stagehand_binary_path if _local_stagehand_binary_path is not None else self ._local_stagehand_binary_path ,
586590 local_host = local_host or self ._local_host ,
0 commit comments