Skip to content

Commit f992bea

Browse files
feat(api): manual updates
1 parent 96b1343 commit f992bea

3 files changed

Lines changed: 33 additions & 3 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-3607b588cab78536eb7de9f6acffe8ddda1d34aebe5910c2147421aa6c16bf22.yml
3-
openapi_spec_hash: fb507e8d38b4978a5717fbb144197868
4-
config_hash: 9d54b9fd851ec7ac25b85f579be64425
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-2c88c6d890406ff8a5f1bca692264fb9af4bc4fe64df0986e06d3386fc6d6fcb.yml
3+
openapi_spec_hash: dc6ea17f8152708dc0a390c7f86b1a5d
4+
config_hash: b01f15c540ab2c92808c2bba96368631

src/Stagehand/Core/ClientOptions.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,39 +79,60 @@ public string BaseUrl
7979
/// </summary>
8080
public TimeSpan? Timeout { get; set; }
8181

82+
/// <summary>
83+
/// Your [Browserbase API Key](https://www.browserbase.com/settings)
84+
/// </summary>
8285
Lazy<string> _browserbaseAPIKey = new(() =>
8386
Environment.GetEnvironmentVariable("BROWSERBASE_API_KEY")
8487
?? throw new StagehandInvalidDataException(
8588
string.Format("{0} cannot be null", nameof(BrowserbaseAPIKey)),
8689
new ArgumentNullException(nameof(BrowserbaseAPIKey))
8790
)
8891
);
92+
93+
/// <summary>
94+
/// Your [Browserbase API Key](https://www.browserbase.com/settings)
95+
/// </summary>
8996
public string BrowserbaseAPIKey
9097
{
9198
readonly get { return _browserbaseAPIKey.Value; }
9299
set { _browserbaseAPIKey = new(() => value); }
93100
}
94101

102+
/// <summary>
103+
/// Your [Browserbase Project ID](https://www.browserbase.com/settings)
104+
/// </summary>
95105
Lazy<string> _browserbaseProjectID = new(() =>
96106
Environment.GetEnvironmentVariable("BROWSERBASE_PROJECT_ID")
97107
?? throw new StagehandInvalidDataException(
98108
string.Format("{0} cannot be null", nameof(BrowserbaseProjectID)),
99109
new ArgumentNullException(nameof(BrowserbaseProjectID))
100110
)
101111
);
112+
113+
/// <summary>
114+
/// Your [Browserbase Project ID](https://www.browserbase.com/settings)
115+
/// </summary>
102116
public string BrowserbaseProjectID
103117
{
104118
readonly get { return _browserbaseProjectID.Value; }
105119
set { _browserbaseProjectID = new(() => value); }
106120
}
107121

122+
/// <summary>
123+
/// Your LLM provider API key (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.)
124+
/// </summary>
108125
Lazy<string> _modelAPIKey = new(() =>
109126
Environment.GetEnvironmentVariable("MODEL_API_KEY")
110127
?? throw new StagehandInvalidDataException(
111128
string.Format("{0} cannot be null", nameof(ModelAPIKey)),
112129
new ArgumentNullException(nameof(ModelAPIKey))
113130
)
114131
);
132+
133+
/// <summary>
134+
/// Your LLM provider API key (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.)
135+
/// </summary>
115136
public string ModelAPIKey
116137
{
117138
readonly get { return _modelAPIKey.Value; }

src/Stagehand/IStagehandClient.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,19 @@ public interface IStagehandClient
7373
/// </summary>
7474
TimeSpan? Timeout { get; init; }
7575

76+
/// <summary>
77+
/// Your [Browserbase API Key](https://www.browserbase.com/settings)
78+
/// </summary>
7679
string BrowserbaseAPIKey { get; init; }
7780

81+
/// <summary>
82+
/// Your [Browserbase Project ID](https://www.browserbase.com/settings)
83+
/// </summary>
7884
string BrowserbaseProjectID { get; init; }
7985

86+
/// <summary>
87+
/// Your LLM provider API key (e.g. OPENAI_API_KEY, ANTHROPIC_API_KEY, etc.)
88+
/// </summary>
8089
string ModelAPIKey { get; init; }
8190

8291
/// <summary>

0 commit comments

Comments
 (0)