@@ -15,8 +15,6 @@ namespace OpenAI.Responses;
1515[ CodeGenType ( "Responses" ) ]
1616[ CodeGenSuppress ( "CreateResponseAsync" , typeof ( ResponseCreationOptions ) , typeof ( CancellationToken ) ) ]
1717[ CodeGenSuppress ( "CreateResponse" , typeof ( ResponseCreationOptions ) , typeof ( CancellationToken ) ) ]
18- [ CodeGenSuppress ( "GetResponse" , typeof ( string ) , typeof ( string ) , typeof ( IEnumerable < IncludedResponseProperty > ) , typeof ( bool ? ) , typeof ( int ? ) , typeof ( CancellationToken ) ) ]
19- [ CodeGenSuppress ( "GetResponseAsync" , typeof ( string ) , typeof ( string ) , typeof ( IEnumerable < IncludedResponseProperty > ) , typeof ( bool ? ) , typeof ( int ? ) , typeof ( CancellationToken ) ) ]
2018[ CodeGenSuppress ( "DeleteResponse" , typeof ( string ) , typeof ( string ) , typeof ( CancellationToken ) ) ]
2119[ CodeGenSuppress ( "DeleteResponseAsync" , typeof ( string ) , typeof ( string ) , typeof ( CancellationToken ) ) ]
2220[ CodeGenSuppress ( "CancelResponse" , typeof ( string ) , typeof ( IEnumerable < IncludedResponseProperty > ) , typeof ( bool ? ) , typeof ( int ? ) , typeof ( CancellationToken ) ) ]
@@ -228,7 +226,7 @@ public virtual CollectionResult<StreamingResponseUpdate> CreateResponseStreaming
228226 cancellationToken ) ;
229227 }
230228
231- internal async Task < ClientResult < OpenAIResponse > > GetResponseAsync ( string responseId , IEnumerable < IncludedResponseProperty > include , int ? startingAfter , bool ? includeObfuscation , RequestOptions requestOptions )
229+ internal async Task < ClientResult < OpenAIResponse > > GetResponseAsync ( string responseId , IEnumerable < IncludedResponseProperty > include , RequestOptions requestOptions )
232230 {
233231 Argument . AssertNotNullOrEmpty ( responseId , nameof ( responseId ) ) ;
234232 Argument . AssertNotNull ( requestOptions , nameof ( requestOptions ) ) ;
@@ -237,21 +235,21 @@ internal async Task<ClientResult<OpenAIResponse>> GetResponseAsync(string respon
237235 throw new InvalidOperationException ( "'requestOptions.BufferResponse' must be 'true' when calling 'GetResponseAsync'." ) ;
238236 }
239237
240- ClientResult protocolResult = await GetResponseAsync ( responseId , include , stream : null , startingAfter , includeObfuscation , requestOptions ) . ConfigureAwait ( false ) ;
238+ ClientResult protocolResult = await GetResponseAsync ( responseId , include , stream : null , startingAfter : null , includeObfuscation : null , requestOptions ) . ConfigureAwait ( false ) ;
241239 OpenAIResponse convenienceResult = ( OpenAIResponse ) protocolResult ;
242240 return ClientResult . FromValue ( convenienceResult , protocolResult . GetRawResponse ( ) ) ;
243241 }
244242
245- public virtual Task < ClientResult < OpenAIResponse > > GetResponseAsync ( string responseId , IEnumerable < IncludedResponseProperty > include = default , int ? startingAfter = default , bool ? includeObfuscation = default , CancellationToken cancellationToken = default )
243+ public virtual Task < ClientResult < OpenAIResponse > > GetResponseAsync ( string responseId , IEnumerable < IncludedResponseProperty > include = default , CancellationToken cancellationToken = default )
246244 {
247- return GetResponseAsync ( responseId , include , startingAfter , includeObfuscation , cancellationToken . ToRequestOptions ( ) ?? new RequestOptions ( ) ) ;
245+ return GetResponseAsync ( responseId , include , cancellationToken . ToRequestOptions ( ) ?? new RequestOptions ( ) ) ;
248246 }
249247
250- public virtual ClientResult < OpenAIResponse > GetResponse ( string responseId , IEnumerable < IncludedResponseProperty > include = default , int ? startingAfter = default , bool ? includeObfuscation = default , CancellationToken cancellationToken = default )
248+ public virtual ClientResult < OpenAIResponse > GetResponse ( string responseId , IEnumerable < IncludedResponseProperty > include = default , CancellationToken cancellationToken = default )
251249 {
252250 Argument . AssertNotNullOrEmpty ( responseId , nameof ( responseId ) ) ;
253251
254- ClientResult protocolResult = GetResponse ( responseId , include , stream : null , startingAfter , includeObfuscation , cancellationToken . ToRequestOptions ( ) ) ;
252+ ClientResult protocolResult = GetResponse ( responseId , include , stream : null , startingAfter : null , includeObfuscation : null , cancellationToken . ToRequestOptions ( ) ) ;
255253 OpenAIResponse convenienceResult = ( OpenAIResponse ) protocolResult ;
256254 return ClientResult . FromValue ( convenienceResult , protocolResult . GetRawResponse ( ) ) ;
257255 }
0 commit comments