Skip to content

Commit bcdb2b3

Browse files
add default api value
1 parent 5253c79 commit bcdb2b3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

stagehand/config.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ class StagehandConfig(BaseModel):
4242
None, alias="projectId", description="Browserbase project ID"
4343
)
4444
api_url: Optional[str] = Field(
45-
None, alias="apiUrl", description="Stagehand API URL"
46-
) # might add a default value here
45+
"https://api.stagehand.browserbase.com/v1",
46+
alias="apiUrl",
47+
description="Stagehand API URL",
48+
)
4749
model_api_key: Optional[str] = Field(
4850
None, alias="modelApiKey", description="Model API key"
4951
)

0 commit comments

Comments
 (0)