@@ -80,7 +80,7 @@ When the library is unable to connect to the API, or if the API returns a non-su
8080use Stagehand\Core\Exceptions\APIConnectionException;
8181
8282try {
83- $response = $client->sessions->start(modelName: 'gpt-4o ');
83+ $response = $client->sessions->start(modelName: 'openai/ gpt-5-nano ');
8484} catch (APIConnectionException $e) {
8585 echo "The server could not be reached", PHP_EOL;
8686 var_dump($e->getPrevious());
@@ -127,7 +127,8 @@ $client = new Client(maxRetries: 0);
127127
128128// Or, configure per-request:
129129$result = $client->sessions->start(
130- modelName: 'gpt-4o', requestOptions: RequestOptions::with(maxRetries: 5)
130+ modelName: 'openai/gpt-5-nano',
131+ requestOptions: RequestOptions::with(maxRetries: 5),
131132);
132133```
133134
@@ -147,7 +148,7 @@ Note: the `extra*` parameters of the same name overrides the documented paramete
147148use Stagehand\RequestOptions;
148149
149150$response = $client->sessions->start(
150- modelName: 'gpt-4o ',
151+ modelName: 'openai/ gpt-5-nano ',
151152 requestOptions: RequestOptions::with(
152153 extraQueryParams: ['my_query_parameter' => 'value'],
153154 extraBodyParams: ['my_body_parameter' => 'value'],
0 commit comments