Skip to content

Commit a8c54a9

Browse files
committed
remove double project id parameter
1 parent 6ae809d commit a8c54a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

types/stagehand.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ export interface ConstructorParams {
4646
/**
4747
* The parameters to use for creating a Browserbase session
4848
* See https://docs.browserbase.com/reference/api/create-a-session
49+
* Note: projectId is optional here as it will use the main projectId parameter if not provided
4950
*/
50-
browserbaseSessionCreateParams?: Browserbase.Sessions.SessionCreateParams;
51+
browserbaseSessionCreateParams?: Omit<Browserbase.Sessions.SessionCreateParams, 'projectId'> & { projectId?: string };
5152
/**
5253
* Enable caching of LLM responses
5354
* @default true

0 commit comments

Comments
 (0)