We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe4dcb8 commit dac64dcCopy full SHA for dac64dc
stagehand/main.py
@@ -185,7 +185,8 @@ def __init__(
185
self.local_browser_launch_options = (
186
self.config.local_browser_launch_options or {}
187
)
188
- self.model_client_options["apiKey"] = self.model_api_key
+ if self.model_api_key:
189
+ self.model_client_options["apiKey"] = self.model_api_key
190
191
# Handle browserbase session create params
192
self.browserbase_session_create_params = make_serializable(
0 commit comments