@@ -1483,13 +1483,11 @@ public class ChatClient {
14831483 public virtual string Model { get; }
14841484 public ClientPipeline Pipeline { get; }
14851485 public virtual ClientResult<ChatCompletion> CompleteChat(params ChatMessage[] messages);
1486- public virtual ClientResult CompleteChat(CreateChatCompletionOptions options, RequestOptions requestOptions = null);
14871486 [Experimental("OPENAI001")]
14881487 public virtual ClientResult<ChatCompletionResult> CompleteChat(CreateChatCompletionOptions options, CancellationToken cancellationToken = default);
14891488 public virtual ClientResult CompleteChat(BinaryContent content, RequestOptions options = null);
14901489 public virtual ClientResult<ChatCompletion> CompleteChat(IEnumerable<ChatMessage> messages, ChatCompletionOptions options = null, CancellationToken cancellationToken = default);
14911490 public virtual Task<ClientResult<ChatCompletion>> CompleteChatAsync(params ChatMessage[] messages);
1492- public virtual Task<ClientResult> CompleteChatAsync(CreateChatCompletionOptions options, RequestOptions requestOptions = null);
14931491 [Experimental("OPENAI001")]
14941492 public virtual Task<ClientResult<ChatCompletionResult>> CompleteChatAsync(CreateChatCompletionOptions options, CancellationToken cancellationToken = default);
14951493 public virtual Task<ClientResult> CompleteChatAsync(BinaryContent content, RequestOptions options = null);
@@ -1509,14 +1507,12 @@ public class ChatClient {
15091507 [Experimental("OPENAI001")]
15101508 public virtual Task<ClientResult<ChatCompletionDeletionResult>> DeleteChatCompletionAsync(string completionId, CancellationToken cancellationToken = default);
15111509 [Experimental("OPENAI001")]
1512- public virtual ClientResult GetChatCompletion(GetChatCompletionOptions options, RequestOptions requestOptions = null);
15131510 public virtual ClientResult<ChatCompletionResult> GetChatCompletion(GetChatCompletionOptions options, CancellationToken cancellationToken = default);
15141511 [Experimental("OPENAI001")]
15151512 public virtual ClientResult GetChatCompletion(string completionId, RequestOptions options);
15161513 [Experimental("OPENAI001")]
15171514 public virtual ClientResult<ChatCompletion> GetChatCompletion(string completionId, CancellationToken cancellationToken = default);
15181515 [Experimental("OPENAI001")]
1519- public virtual Task<ClientResult> GetChatCompletionAsync(GetChatCompletionOptions options, RequestOptions requestOptions = null);
15201516 public virtual Task<ClientResult<ChatCompletionResult>> GetChatCompletionAsync(GetChatCompletionOptions options, CancellationToken cancellationToken = default);
15211517 [Experimental("OPENAI001")]
15221518 public virtual Task<ClientResult> GetChatCompletionAsync(string completionId, RequestOptions options);
@@ -1547,16 +1543,12 @@ public class ChatClient {
15471543 [Experimental("OPENAI001")]
15481544 public virtual Task<ClientResult<ChatCompletionList>> GetChatCompletionsAsync(GetChatCompletionsOptions options, CancellationToken cancellationToken = default);
15491545 [Experimental("OPENAI001")]
1550- public virtual ClientResult UpdateChatCompletion(UpdateChatCompletionOptions options, RequestOptions requestOptions = null);
1551- [Experimental("OPENAI001")]
15521546 public virtual ClientResult<ChatCompletionResult> UpdateChatCompletion(UpdateChatCompletionOptions options, CancellationToken cancellationToken = default);
15531547 [Experimental("OPENAI001")]
15541548 public virtual ClientResult UpdateChatCompletion(string completionId, BinaryContent content, RequestOptions options = null);
15551549 [Experimental("OPENAI001")]
15561550 public virtual ClientResult<ChatCompletion> UpdateChatCompletion(string completionId, IDictionary<string, string> metadata, CancellationToken cancellationToken = default);
15571551 [Experimental("OPENAI001")]
1558- public virtual Task<ClientResult> UpdateChatCompletionAsync(UpdateChatCompletionOptions options, RequestOptions requestOptions = null);
1559- [Experimental("OPENAI001")]
15601552 public virtual Task<ClientResult<ChatCompletionResult>> UpdateChatCompletionAsync(UpdateChatCompletionOptions options, CancellationToken cancellationToken = default);
15611553 [Experimental("OPENAI001")]
15621554 public virtual Task<ClientResult> UpdateChatCompletionAsync(string completionId, BinaryContent content, RequestOptions options = null);
@@ -2670,6 +2662,9 @@ public class UnknownResponseFormat : ResponseFormat, IJsonModel<ResponseFormat>,
26702662 public class UpdateChatCompletionOptions : JsonModel<UpdateChatCompletionOptions> {
26712663 public string CompletionId { get; set; }
26722664 public IDictionary<string, string> Metadata { get; }
2665+ [EditorBrowsable(EditorBrowsableState.Never)]
2666+ [Experimental("SCME0001")]
2667+ public ref JsonPatch Patch { get; }
26732668 protected override UpdateChatCompletionOptions CreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options);
26742669 protected virtual UpdateChatCompletionOptions JsonModelCreateCore(ref Utf8JsonReader reader, ModelReaderWriterOptions options);
26752670 public static implicit operator BinaryContent(UpdateChatCompletionOptions options);
0 commit comments