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(
114
114
apiKey: process .env .BROWSERBASE_API_KEY ,
115
115
projectId: process .env .BROWSERBASE_PROJECT_ID ,
116
116
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
118
118
proxies: true ,
119
119
region: " us-west-2" ,
120
120
timeout: 3600 , // 1 hour session timeout
@@ -149,7 +149,7 @@ stagehand = Stagehand(
149
149
api_key = os.getenv(" BROWSERBASE_API_KEY" ),
150
150
project_id = os.getenv(" BROWSERBASE_PROJECT_ID" ),
151
151
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
153
153
" proxies" : True ,
154
154
" region" : " us-west-2" ,
155
155
" timeout" : 3600 , # 1 hour session timeout
You can’t perform that action at this time.
0 commit comments