Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and HavenDV committed Oct 25, 2024
1 parent 14b9aff commit fe583d7
Show file tree
Hide file tree
Showing 72 changed files with 100 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessCancelRunResponseContent(
/// <param name="runId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> CancelRunAsync(
string threadId,
string runId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessCreateAssistantResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.AssistantObject> CreateAssistantAsync(
global::OpenAI.CreateAssistantRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down Expand Up @@ -158,6 +159,7 @@ partial void ProcessCreateAssistantResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.AssistantObject> CreateAssistantAsync(
global::OpenAI.AnyOf<string, global::OpenAI.CreateAssistantRequestModel?> model,
string? name = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessCreateMessageResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.MessageObject> CreateMessageAsync(
string threadId,
global::OpenAI.CreateMessageRequest request,
Expand Down Expand Up @@ -138,6 +139,7 @@ partial void ProcessCreateMessageResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.MessageObject> CreateMessageAsync(
string threadId,
global::OpenAI.CreateMessageRequestRole role,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partial void ProcessCreateRunResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> CreateRunAsync(
string threadId,
global::OpenAI.CreateRunRequest request,
Expand Down Expand Up @@ -194,6 +195,7 @@ partial void ProcessCreateRunResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> CreateRunAsync(
string threadId,
string assistantId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessCreateThreadResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ThreadObject> CreateThreadAsync(
global::OpenAI.CreateThreadRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down Expand Up @@ -128,6 +129,7 @@ partial void ProcessCreateThreadResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ThreadObject> CreateThreadAsync(
global::System.Collections.Generic.IList<global::OpenAI.CreateMessageRequest>? messages = default,
global::OpenAI.CreateThreadRequestToolResources? toolResources = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> CreateThreadAndRunAsync(
global::OpenAI.CreateThreadAndRunRequest request,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down Expand Up @@ -178,6 +179,7 @@ partial void ProcessCreateThreadAndRunResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> CreateThreadAndRunAsync(
string assistantId,
global::OpenAI.CreateThreadRequest? thread = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessDeleteAssistantResponseContent(
/// <param name="assistantId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.DeleteAssistantResponse> DeleteAssistantAsync(
string assistantId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessDeleteMessageResponseContent(
/// <param name="messageId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.DeleteMessageResponse> DeleteMessageAsync(
string threadId,
string messageId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessDeleteThreadResponseContent(
/// <param name="threadId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.DeleteThreadResponse> DeleteThreadAsync(
string threadId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessGetAssistantResponseContent(
/// <param name="assistantId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.AssistantObject> GetAssistantAsync(
string assistantId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessGetMessageResponseContent(
/// <param name="messageId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.MessageObject> GetMessageAsync(
string threadId,
string messageId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessGetRunResponseContent(
/// <param name="runId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> GetRunAsync(
string threadId,
string runId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ partial void ProcessGetRunStepResponseContent(
/// <param name="include"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunStepObject> GetRunStepAsync(
string threadId,
string runId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ partial void ProcessGetThreadResponseContent(
/// <param name="threadId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ThreadObject> GetThreadAsync(
string threadId,
global::System.Threading.CancellationToken cancellationToken = default)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ partial void ProcessListAssistantsResponseContent(
/// <param name="before"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ListAssistantsResponse> ListAssistantsAsync(
int? limit = default,
global::OpenAI.ListAssistantsOrder? order = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ partial void ProcessListMessagesResponseContent(
/// <param name="runId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ListMessagesResponse> ListMessagesAsync(
string threadId,
int? limit = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ partial void ProcessListRunStepsResponseContent(
/// <param name="include"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ListRunStepsResponse> ListRunStepsAsync(
string threadId,
string runId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ partial void ProcessListRunsResponseContent(
/// <param name="before"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ListRunsResponse> ListRunsAsync(
string threadId,
int? limit = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessModifyAssistantResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.AssistantObject> ModifyAssistantAsync(
string assistantId,
global::OpenAI.ModifyAssistantRequest request,
Expand Down Expand Up @@ -164,6 +165,7 @@ partial void ProcessModifyAssistantResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.AssistantObject> ModifyAssistantAsync(
string assistantId,
string? model = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partial void ProcessModifyMessageResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.MessageObject> ModifyMessageAsync(
string threadId,
string messageId,
Expand Down Expand Up @@ -136,6 +137,7 @@ partial void ProcessModifyMessageResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.MessageObject> ModifyMessageAsync(
string threadId,
string messageId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partial void ProcessModifyRunResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> ModifyRunAsync(
string threadId,
string runId,
Expand Down Expand Up @@ -136,6 +137,7 @@ partial void ProcessModifyRunResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> ModifyRunAsync(
string threadId,
string runId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessModifyThreadResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ThreadObject> ModifyThreadAsync(
string threadId,
global::OpenAI.ModifyThreadRequest request,
Expand Down Expand Up @@ -132,6 +133,7 @@ partial void ProcessModifyThreadResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.ThreadObject> ModifyThreadAsync(
string threadId,
global::OpenAI.ModifyThreadRequestToolResources? toolResources = default,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ partial void ProcessSubmitToolOuputsToRunResponseContent(
/// <param name="request"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> SubmitToolOuputsToRunAsync(
string threadId,
string runId,
Expand Down Expand Up @@ -139,6 +140,7 @@ partial void ProcessSubmitToolOuputsToRunResponseContent(
/// </param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
public async global::System.Threading.Tasks.Task<global::OpenAI.RunObject> SubmitToolOuputsToRunAsync(
string threadId,
string runId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public partial interface IAssistantsClient
/// <param name="runId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::System.InvalidOperationException"></exception>
[global::System.Diagnostics.CodeAnalysis.Experimental(diagnosticId: "OPENAI_BETA_001")]
global::System.Threading.Tasks.Task<global::OpenAI.RunObject> CancelRunAsync(
string threadId,
string runId,
Expand Down
Loading

0 comments on commit fe583d7

Please sign in to comment.