From e4f78e4e7652f1eb46d88c5d858481a87b98e49c Mon Sep 17 00:00:00 2001 From: Friparia Date: Thu, 3 Jul 2025 09:38:31 +0800 Subject: [PATCH] fix api key example in README original config uses model_api_key, not client_options https://github.com/browserbase/stagehand-python/blob/main/stagehand/config.py#L22 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 090ef80..44473db 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,7 @@ async def main(): api_key=os.getenv("BROWSERBASE_API_KEY"), project_id=os.getenv("BROWSERBASE_PROJECT_ID"), model_name="google/gemini-2.5-flash-preview-05-20", - model_client_options={"apiKey": os.getenv("MODEL_API_KEY")}, + model_api_key=os.getenv("MODEL_API_KEY"), ) stagehand = Stagehand(config)