You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Configures using the `stagehand.apiKey` and `stagehand.baseUrl` system properties
55
-
// Or configures using the `STAGEHAND_API_KEY` and `STAGEHAND_BASE_URL` environment variables
54
+
// Configures using the `stagehand.browserbaseApiKey`, `stagehand.browserbaseProjectId`, `stagehand.modelApiKey` and `stagehand.baseUrl` system properties
55
+
// Or configures using the `BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`, `MODEL_API_KEY` and `STAGEHAND_BASE_URL` environment variables
// Configures using the `stagehand.apiKey` and `stagehand.baseUrl` system properties
74
-
// Or configures using the `STAGEHAND_API_KEY` and `STAGEHAND_BASE_URL` environment variables
73
+
// Configures using the `stagehand.browserbaseApiKey`, `stagehand.browserbaseProjectId`, `stagehand.modelApiKey` and `stagehand.baseUrl` system properties
74
+
// Or configures using the `BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`, `MODEL_API_KEY` and `STAGEHAND_BASE_URL` environment variables
// Configures using the `stagehand.apiKey` and `stagehand.baseUrl` system properties
97
-
// Or configures using the `STAGEHAND_API_KEY` and `STAGEHAND_BASE_URL` environment variables
98
+
// Configures using the `stagehand.browserbaseApiKey`, `stagehand.browserbaseProjectId`, `stagehand.modelApiKey` and `stagehand.baseUrl` system properties
99
+
// Or configures using the `BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`, `MODEL_API_KEY` and `STAGEHAND_BASE_URL` environment variables
98
100
.fromEnv()
99
-
.apiKey("My API Key")
101
+
.browserbaseApiKey("My Browserbase API Key")
100
102
.build();
101
103
```
102
104
103
105
See this table for the available options:
104
106
105
-
| Setter | System property | Environment variable | Required | Default value |
// Configures using the `stagehand.apiKey` and `stagehand.baseUrl` system properties
157
-
// Or configures using the `STAGEHAND_API_KEY` and `STAGEHAND_BASE_URL` environment variables
160
+
// Configures using the `stagehand.browserbaseApiKey`, `stagehand.browserbaseProjectId`, `stagehand.modelApiKey` and `stagehand.baseUrl` system properties
161
+
// Or configures using the `BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`, `MODEL_API_KEY` and `STAGEHAND_BASE_URL` environment variables
// Configures using the `stagehand.apiKey` and `stagehand.baseUrl` system properties
177
-
// Or configures using the `STAGEHAND_API_KEY` and `STAGEHAND_BASE_URL` environment variables
180
+
// Configures using the `stagehand.browserbaseApiKey`, `stagehand.browserbaseProjectId`, `stagehand.modelApiKey` and `stagehand.baseUrl` system properties
181
+
// Or configures using the `BROWSERBASE_API_KEY`, `BROWSERBASE_PROJECT_ID`, `MODEL_API_KEY` and `STAGEHAND_BASE_URL` environment variables
Copy file name to clipboardExpand all lines: stagehand-java-client-okhttp/src/main/kotlin/com/browserbase/api/client/okhttp/StagehandOkHttpClientAsync.kt
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -145,22 +145,12 @@ class StagehandOkHttpClientAsync private constructor() {
145
145
* The base URL to use for every request.
146
146
*
147
147
* Defaults to the production environment: `https://api.stagehand.browserbase.com/v1`.
148
-
*
149
-
* The following other environments, with dedicated builder methods, are available:
0 commit comments