File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ stagehand = Stagehand(
114114 apiKey: process .env .BROWSERBASE_API_KEY ,
115115 projectId: process .env .BROWSERBASE_PROJECT_ID ,
116116 browserbaseSessionCreateParams: {
117- projectId: process .env .BROWSERBASE_PROJECT_ID ! ,
117+ projectId: process .env .BROWSERBASE_PROJECT_ID ! , // Optional: automatically set if given in environment variable or by Stagehand parameter
118118 proxies: true ,
119119 region: " us-west-2" ,
120120 timeout: 3600 , // 1 hour session timeout
@@ -149,7 +149,7 @@ stagehand = Stagehand(
149149 api_key = os.getenv(" BROWSERBASE_API_KEY" ),
150150 project_id = os.getenv(" BROWSERBASE_PROJECT_ID" ),
151151 browserbase_session_create_params = {
152- " project_id" : os.getenv(" BROWSERBASE_PROJECT_ID" ),
152+ " project_id" : os.getenv(" BROWSERBASE_PROJECT_ID" ), # Optional: automatically set if given in environment or by Stagehand parameter
153153 " proxies" : True ,
154154 " region" : " us-west-2" ,
155155 " timeout" : 3600 , # 1 hour session timeout
You can’t perform that action at this time.
0 commit comments