Skip to content

Commit cbcc333

Browse files
authored
fix api key example in README (#133)
original config uses model_api_key, not client_options https://github.com/browserbase/stagehand-python/blob/main/stagehand/config.py#L22
1 parent 6586996 commit cbcc333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ async def main():
128128
api_key=os.getenv("BROWSERBASE_API_KEY"),
129129
project_id=os.getenv("BROWSERBASE_PROJECT_ID"),
130130
model_name="google/gemini-2.5-flash-preview-05-20",
131-
model_client_options={"apiKey": os.getenv("MODEL_API_KEY")},
131+
model_api_key=os.getenv("MODEL_API_KEY"),
132132
)
133133

134134
stagehand = Stagehand(config)

0 commit comments

Comments
 (0)