@@ -240,16 +240,16 @@ internal async Task<ClientResult<OpenAIResponse>> GetResponseAsync(string respon
240240 return ClientResult . FromValue ( convenienceResult , protocolResult . GetRawResponse ( ) ) ;
241241 }
242242
243- public virtual Task < ClientResult < OpenAIResponse > > GetResponseAsync ( string responseId , IEnumerable < IncludedResponseProperty > include = default , CancellationToken cancellationToken = default )
243+ public virtual Task < ClientResult < OpenAIResponse > > GetResponseAsync ( string responseId , IEnumerable < IncludedResponseProperty > includedProperties = default , CancellationToken cancellationToken = default )
244244 {
245- return GetResponseAsync ( responseId , include , cancellationToken . ToRequestOptions ( ) ?? new RequestOptions ( ) ) ;
245+ return GetResponseAsync ( responseId , includedProperties , cancellationToken . ToRequestOptions ( ) ?? new RequestOptions ( ) ) ;
246246 }
247247
248- public virtual ClientResult < OpenAIResponse > GetResponse ( string responseId , IEnumerable < IncludedResponseProperty > include = default , CancellationToken cancellationToken = default )
248+ public virtual ClientResult < OpenAIResponse > GetResponse ( string responseId , IEnumerable < IncludedResponseProperty > includedProperties = default , CancellationToken cancellationToken = default )
249249 {
250250 Argument . AssertNotNullOrEmpty ( responseId , nameof ( responseId ) ) ;
251251
252- ClientResult protocolResult = GetResponse ( responseId , include , stream : null , startingAfter : null , includeObfuscation : null , cancellationToken . ToRequestOptions ( ) ) ;
252+ ClientResult protocolResult = GetResponse ( responseId , includedProperties , stream : null , startingAfter : null , includeObfuscation : null , cancellationToken . ToRequestOptions ( ) ) ;
253253 OpenAIResponse convenienceResult = ( OpenAIResponse ) protocolResult ;
254254 return ClientResult . FromValue ( convenienceResult , protocolResult . GetRawResponse ( ) ) ;
255255 }
@@ -269,17 +269,17 @@ internal AsyncCollectionResult<StreamingResponseUpdate> GetResponseStreamingAsyn
269269 requestOptions . CancellationToken ) ;
270270 }
271271
272- public virtual AsyncCollectionResult < StreamingResponseUpdate > GetResponseStreamingAsync ( string responseId , IEnumerable < IncludedResponseProperty > include = default , int ? startingAfter = default , bool ? includeObfuscation = default , CancellationToken cancellationToken = default )
272+ public virtual AsyncCollectionResult < StreamingResponseUpdate > GetResponseStreamingAsync ( string responseId , IEnumerable < IncludedResponseProperty > includedProperties = default , int ? startingAfter = default , bool ? includeObfuscation = default , CancellationToken cancellationToken = default )
273273 {
274- return GetResponseStreamingAsync ( responseId , include , startingAfter , includeObfuscation , cancellationToken . ToRequestOptions ( streaming : true ) ) ;
274+ return GetResponseStreamingAsync ( responseId , includedProperties , startingAfter , includeObfuscation , cancellationToken . ToRequestOptions ( streaming : true ) ) ;
275275 }
276276
277- public virtual CollectionResult < StreamingResponseUpdate > GetResponseStreaming ( string responseId , IEnumerable < IncludedResponseProperty > include = default , int ? startingAfter = default , bool ? includeObfuscation = default , CancellationToken cancellationToken = default )
277+ public virtual CollectionResult < StreamingResponseUpdate > GetResponseStreaming ( string responseId , IEnumerable < IncludedResponseProperty > includedProperties = default , int ? startingAfter = default , bool ? includeObfuscation = default , CancellationToken cancellationToken = default )
278278 {
279279 Argument . AssertNotNull ( responseId , nameof ( responseId ) ) ;
280280
281281 return new SseUpdateCollection < StreamingResponseUpdate > (
282- ( ) => GetResponse ( responseId , include , stream : true , startingAfter , includeObfuscation , cancellationToken . ToRequestOptions ( streaming : true ) ) ,
282+ ( ) => GetResponse ( responseId , includedProperties , stream : true , startingAfter , includeObfuscation , cancellationToken . ToRequestOptions ( streaming : true ) ) ,
283283 StreamingResponseUpdate . DeserializeStreamingResponseUpdate ,
284284 cancellationToken ) ;
285285 }
0 commit comments