Skip to content

Commit be169eb

Browse files
feat(api): manual updates
1 parent 2a98da9 commit be169eb

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ When the library is unable to connect to the API, or if the API returns a non-su
4545

4646
```ruby
4747
begin
48-
session = stagehand.sessions.start(model_name: "gpt-4o")
48+
session = stagehand.sessions.start(model_name: "openai/gpt-5-nano")
4949
rescue Stagehand::Errors::APIConnectionError => e
5050
puts("The server could not be reached")
5151
puts(e.cause) # an underlying Exception, likely raised within `net/http`
@@ -88,7 +88,7 @@ stagehand = Stagehand::Client.new(
8888
)
8989

9090
# Or, configure per-request:
91-
stagehand.sessions.start(model_name: "gpt-4o", request_options: {max_retries: 5})
91+
stagehand.sessions.start(model_name: "openai/gpt-5-nano", request_options: {max_retries: 5})
9292
```
9393

9494
### Timeouts
@@ -102,7 +102,7 @@ stagehand = Stagehand::Client.new(
102102
)
103103

104104
# Or, configure per-request:
105-
stagehand.sessions.start(model_name: "gpt-4o", request_options: {timeout: 5})
105+
stagehand.sessions.start(model_name: "openai/gpt-5-nano", request_options: {timeout: 5})
106106
```
107107

108108
On timeout, `Stagehand::Errors::APITimeoutError` is raised.
@@ -134,7 +134,7 @@ Note: the `extra_` parameters of the same name overrides the documented paramete
134134
```ruby
135135
response =
136136
stagehand.sessions.start(
137-
model_name: "gpt-4o",
137+
model_name: "openai/gpt-5-nano",
138138
request_options: {
139139
extra_query: {my_query_parameter: value},
140140
extra_body: {my_body_parameter: value},

0 commit comments

Comments
 (0)