Skip to content

Commit 8d1c5ae

Browse files
feat(api): manual updates
1 parent 638e928 commit 8d1c5ae

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 7
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-e6a9dca1a93568e403ac72128d86f30c8c3f1336d4b67017d7e61b1836f10f47.yml
33
openapi_spec_hash: ef01e0649bb0e283df0aa81c369649df
4-
config_hash: 0f2a6f228fb92683466c107fce3bcd21
4+
config_hash: 88e87ba7021be93d267ecfc8f5e6b891

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ client = Stagehand()
170170

171171
try:
172172
client.sessions.start(
173-
model_name="gpt-4o",
173+
model_name="openai/gpt-5-nano",
174174
)
175175
except stagehand.APIConnectionError as e:
176176
print("The server could not be reached")
@@ -215,7 +215,7 @@ client = Stagehand(
215215

216216
# Or, configure per-request:
217217
client.with_options(max_retries=5).sessions.start(
218-
model_name="gpt-4o",
218+
model_name="openai/gpt-5-nano",
219219
)
220220
```
221221

@@ -240,7 +240,7 @@ client = Stagehand(
240240

241241
# Override per-request:
242242
client.with_options(timeout=5.0).sessions.start(
243-
model_name="gpt-4o",
243+
model_name="openai/gpt-5-nano",
244244
)
245245
```
246246

@@ -283,7 +283,7 @@ from stagehand import Stagehand
283283

284284
client = Stagehand()
285285
response = client.sessions.with_raw_response.start(
286-
model_name="gpt-4o",
286+
model_name="openai/gpt-5-nano",
287287
)
288288
print(response.headers.get('X-My-Header'))
289289

@@ -303,7 +303,7 @@ To stream the response body, use `.with_streaming_response` instead, which requi
303303

304304
```python
305305
with client.sessions.with_streaming_response.start(
306-
model_name="gpt-4o",
306+
model_name="openai/gpt-5-nano",
307307
) as response:
308308
print(response.headers.get("X-My-Header"))
309309

0 commit comments

Comments
 (0)