@@ -170,7 +170,7 @@ client = Stagehand()
170170
171171try :
172172 client.sessions.start(
173- model_name = " gpt-4o " ,
173+ model_name = " openai/ gpt-5-nano " ,
174174 )
175175except stagehand.APIConnectionError as e:
176176 print (" The server could not be reached" )
@@ -215,7 +215,7 @@ client = Stagehand(
215215
216216# Or, configure per-request:
217217client.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:
242242client.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
284284client = Stagehand()
285285response = client.sessions.with_raw_response.start(
286- model_name = " gpt-4o " ,
286+ model_name = " openai/ gpt-5-nano " ,
287287)
288288print (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
305305with 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