Skip to content

Commit 1129145

Browse files
authored
default api url (#97)
1 parent 20b977c commit 1129145

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

stagehand/config.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ class StagehandConfig(BaseModel):
4040
None, alias="projectId", description="Browserbase project ID"
4141
)
4242
api_url: Optional[str] = Field(
43-
None, alias="apiUrl", description="Stagehand API URL"
43+
"https://api.stagehand.browserbase.com/v1",
44+
alias="apiUrl",
45+
description="Stagehand API URL",
4446
) # might add a default value here
4547
model_api_key: Optional[str] = Field(
4648
None, alias="modelApiKey", description="Model API key"

0 commit comments

Comments
 (0)