Skip to content

Commit bd97ffb

Browse files
committed
patch stagehand agent api support
1 parent 7da5b55 commit bd97ffb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,9 @@ export class Stagehand {
992992
throw new StagehandNotInitializedError("API client");
993993
}
994994

995+
if (!options) {
996+
options = {};
997+
}
995998
if (!options.options) {
996999
options.options = {};
9971000
}

0 commit comments

Comments
 (0)