@@ -179,6 +179,8 @@ def retrieve(
179179 response_id : str ,
180180 * ,
181181 include : Union [List [ResponseIncludable ], NotGiven ] = NOT_GIVEN ,
182+ include_obfuscation : Union [bool , NotGiven ] = NOT_GIVEN ,
183+ starting_after : Union [int , NotGiven ] = NOT_GIVEN ,
182184 ** kwargs ,
183185 ) -> ResponseType :
184186 extra_headers = kwargs .pop ("extra_headers" , None )
@@ -189,6 +191,8 @@ def retrieve(
189191 response = self .openai_client .with_raw_response .responses .retrieve (
190192 response_id = response_id ,
191193 include = include ,
194+ include_obfuscation = include_obfuscation ,
195+ starting_after = starting_after ,
192196 extra_headers = extra_headers ,
193197 extra_query = extra_query ,
194198 extra_body = {** (extra_body or {}), ** kwargs },
@@ -229,6 +233,9 @@ def stream(
229233 previous_response_id : Union [str , NotGiven ] = NOT_GIVEN ,
230234 reasoning : Union [Reasoning , NotGiven ] = NOT_GIVEN ,
231235 store : Union [bool , NotGiven ] = NOT_GIVEN ,
236+ stream_options : Union [
237+ response_create_params .StreamOptions , NotGiven
238+ ] = NOT_GIVEN ,
232239 temperature : Union [float , NotGiven ] = NOT_GIVEN ,
233240 text : Union [ResponseTextConfigParam , NotGiven ] = NOT_GIVEN ,
234241 tool_choice : Union [response_create_params .ToolChoice , NotGiven ] = NOT_GIVEN ,
@@ -254,6 +261,7 @@ def stream(
254261 previous_response_id = previous_response_id ,
255262 reasoning = reasoning ,
256263 store = store ,
264+ stream_options = stream_options ,
257265 temperature = temperature ,
258266 text = text ,
259267 tool_choice = tool_choice ,
@@ -517,6 +525,8 @@ async def retrieve(
517525 response_id : str ,
518526 * ,
519527 include : Union [List [ResponseIncludable ], NotGiven ] = NOT_GIVEN ,
528+ include_obfuscation : Union [bool , NotGiven ] = NOT_GIVEN ,
529+ starting_after : Union [int , NotGiven ] = NOT_GIVEN ,
520530 ** kwargs ,
521531 ) -> ResponseType :
522532 extra_headers = kwargs .pop ("extra_headers" , None )
@@ -527,6 +537,8 @@ async def retrieve(
527537 response = await self .openai_client .with_raw_response .responses .retrieve (
528538 response_id = response_id ,
529539 include = include ,
540+ include_obfuscation = include_obfuscation ,
541+ starting_after = starting_after ,
530542 extra_headers = extra_headers ,
531543 extra_query = extra_query ,
532544 extra_body = {** (extra_body or {}), ** kwargs },
@@ -567,6 +579,9 @@ def stream(
567579 previous_response_id : Union [str , NotGiven ] = NOT_GIVEN ,
568580 reasoning : Union [Reasoning , NotGiven ] = NOT_GIVEN ,
569581 store : Union [bool , NotGiven ] = NOT_GIVEN ,
582+ stream_options : Union [
583+ response_create_params .StreamOptions , NotGiven
584+ ] = NOT_GIVEN ,
570585 temperature : Union [float , NotGiven ] = NOT_GIVEN ,
571586 text : Union [ResponseTextConfigParam , NotGiven ] = NOT_GIVEN ,
572587 tool_choice : Union [response_create_params .ToolChoice , NotGiven ] = NOT_GIVEN ,
@@ -592,6 +607,7 @@ def stream(
592607 previous_response_id = previous_response_id ,
593608 reasoning = reasoning ,
594609 store = store ,
610+ stream_options = stream_options ,
595611 temperature = temperature ,
596612 text = text ,
597613 tool_choice = tool_choice ,
0 commit comments