Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ namespace tryAGI.OpenAI
{
public partial class AssistantsClient
{
partial void PrepareCancelRunArguments(
partial void PrepareCancelARunArguments(
global::System.Net.Http.HttpClient httpClient,
ref string threadId,
ref string runId);
partial void PrepareCancelRunRequest(
partial void PrepareCancelARunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string threadId,
string runId);
partial void ProcessCancelRunResponse(
partial void ProcessCancelARunResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);

partial void ProcessCancelRunResponseContent(
partial void ProcessCancelARunResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
Expand All @@ -30,14 +30,14 @@ partial void ProcessCancelRunResponseContent(
/// <param name="runId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunObject> CancelRunAsync(
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunObject> CancelARunAsync(
string threadId,
string runId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareCancelRunArguments(
PrepareCancelARunArguments(
httpClient: HttpClient,
threadId: ref threadId,
runId: ref runId);
Expand Down Expand Up @@ -73,7 +73,7 @@ partial void ProcessCancelRunResponseContent(
PrepareRequest(
client: HttpClient,
request: __httpRequest);
PrepareCancelRunRequest(
PrepareCancelARunRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
threadId: threadId,
Expand All @@ -87,7 +87,7 @@ partial void ProcessCancelRunResponseContent(
ProcessResponse(
client: HttpClient,
response: __response);
ProcessCancelRunResponse(
ProcessCancelARunResponse(
httpClient: HttpClient,
httpResponseMessage: __response);

Expand All @@ -103,7 +103,7 @@ partial void ProcessCancelRunResponseContent(
client: HttpClient,
response: __response,
content: ref __content);
ProcessCancelRunResponseContent(
ProcessCancelARunResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ namespace tryAGI.OpenAI
{
public partial class AssistantsClient
{
partial void PrepareGetMessageArguments(
partial void PrepareRetrieveMessageArguments(
global::System.Net.Http.HttpClient httpClient,
ref string threadId,
ref string messageId);
partial void PrepareGetMessageRequest(
partial void PrepareRetrieveMessageRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string threadId,
string messageId);
partial void ProcessGetMessageResponse(
partial void ProcessRetrieveMessageResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);

partial void ProcessGetMessageResponseContent(
partial void ProcessRetrieveMessageResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
Expand All @@ -30,14 +30,14 @@ partial void ProcessGetMessageResponseContent(
/// <param name="messageId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.MessageObject> GetMessageAsync(
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.MessageObject> RetrieveMessageAsync(
string threadId,
string messageId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareGetMessageArguments(
PrepareRetrieveMessageArguments(
httpClient: HttpClient,
threadId: ref threadId,
messageId: ref messageId);
Expand Down Expand Up @@ -73,7 +73,7 @@ partial void ProcessGetMessageResponseContent(
PrepareRequest(
client: HttpClient,
request: __httpRequest);
PrepareGetMessageRequest(
PrepareRetrieveMessageRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
threadId: threadId,
Expand All @@ -87,7 +87,7 @@ partial void ProcessGetMessageResponseContent(
ProcessResponse(
client: HttpClient,
response: __response);
ProcessGetMessageResponse(
ProcessRetrieveMessageResponse(
httpClient: HttpClient,
httpResponseMessage: __response);

Expand All @@ -103,7 +103,7 @@ partial void ProcessGetMessageResponseContent(
client: HttpClient,
response: __response,
content: ref __content);
ProcessGetMessageResponseContent(
ProcessRetrieveMessageResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ namespace tryAGI.OpenAI
{
public partial class AssistantsClient
{
partial void PrepareGetRunArguments(
partial void PrepareRetrieveRunArguments(
global::System.Net.Http.HttpClient httpClient,
ref string threadId,
ref string runId);
partial void PrepareGetRunRequest(
partial void PrepareRetrieveRunRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string threadId,
string runId);
partial void ProcessGetRunResponse(
partial void ProcessRetrieveRunResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);

partial void ProcessGetRunResponseContent(
partial void ProcessRetrieveRunResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
Expand All @@ -30,14 +30,14 @@ partial void ProcessGetRunResponseContent(
/// <param name="runId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunObject> GetRunAsync(
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunObject> RetrieveRunAsync(
string threadId,
string runId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareGetRunArguments(
PrepareRetrieveRunArguments(
httpClient: HttpClient,
threadId: ref threadId,
runId: ref runId);
Expand Down Expand Up @@ -73,7 +73,7 @@ partial void ProcessGetRunResponseContent(
PrepareRequest(
client: HttpClient,
request: __httpRequest);
PrepareGetRunRequest(
PrepareRetrieveRunRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
threadId: threadId,
Expand All @@ -87,7 +87,7 @@ partial void ProcessGetRunResponseContent(
ProcessResponse(
client: HttpClient,
response: __response);
ProcessGetRunResponse(
ProcessRetrieveRunResponse(
httpClient: HttpClient,
httpResponseMessage: __response);

Expand All @@ -103,7 +103,7 @@ partial void ProcessGetRunResponseContent(
client: HttpClient,
response: __response,
content: ref __content);
ProcessGetRunResponseContent(
ProcessRetrieveRunResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ namespace tryAGI.OpenAI
{
public partial class AssistantsClient
{
partial void PrepareGetRunStepArguments(
partial void PrepareRetrieveRunStepArguments(
global::System.Net.Http.HttpClient httpClient,
ref string threadId,
ref string runId,
ref string stepId,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.GetRunStepIncludeItem>? include);
partial void PrepareGetRunStepRequest(
partial void PrepareRetrieveRunStepRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string threadId,
string runId,
string stepId,
global::System.Collections.Generic.IList<global::tryAGI.OpenAI.GetRunStepIncludeItem>? include);
partial void ProcessGetRunStepResponse(
partial void ProcessRetrieveRunStepResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);

partial void ProcessGetRunStepResponseContent(
partial void ProcessRetrieveRunStepResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
Expand All @@ -36,7 +36,7 @@ partial void ProcessGetRunStepResponseContent(
/// <param name="include"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunStepObject> GetRunStepAsync(
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.RunStepObject> RetrieveRunStepAsync(
string threadId,
string runId,
string stepId,
Expand All @@ -45,7 +45,7 @@ partial void ProcessGetRunStepResponseContent(
{
PrepareArguments(
client: HttpClient);
PrepareGetRunStepArguments(
PrepareRetrieveRunStepArguments(
httpClient: HttpClient,
threadId: ref threadId,
runId: ref runId,
Expand Down Expand Up @@ -86,7 +86,7 @@ partial void ProcessGetRunStepResponseContent(
PrepareRequest(
client: HttpClient,
request: __httpRequest);
PrepareGetRunStepRequest(
PrepareRetrieveRunStepRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
threadId: threadId,
Expand All @@ -102,7 +102,7 @@ partial void ProcessGetRunStepResponseContent(
ProcessResponse(
client: HttpClient,
response: __response);
ProcessGetRunStepResponse(
ProcessRetrieveRunStepResponse(
httpClient: HttpClient,
httpResponseMessage: __response);

Expand All @@ -118,7 +118,7 @@ partial void ProcessGetRunStepResponseContent(
client: HttpClient,
response: __response,
content: ref __content);
ProcessGetRunStepResponseContent(
ProcessRetrieveRunStepResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ namespace tryAGI.OpenAI
{
public partial class AssistantsClient
{
partial void PrepareGetThreadArguments(
partial void PrepareRetrieveThreadArguments(
global::System.Net.Http.HttpClient httpClient,
ref string threadId);
partial void PrepareGetThreadRequest(
partial void PrepareRetrieveThreadRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
string threadId);
partial void ProcessGetThreadResponse(
partial void ProcessRetrieveThreadResponse(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage);

partial void ProcessGetThreadResponseContent(
partial void ProcessRetrieveThreadResponseContent(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpResponseMessage httpResponseMessage,
ref string content);
Expand All @@ -27,13 +27,13 @@ partial void ProcessGetThreadResponseContent(
/// <param name="threadId"></param>
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::tryAGI.OpenAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ThreadObject> GetThreadAsync(
public async global::System.Threading.Tasks.Task<global::tryAGI.OpenAI.ThreadObject> RetrieveThreadAsync(
string threadId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareGetThreadArguments(
PrepareRetrieveThreadArguments(
httpClient: HttpClient,
threadId: ref threadId);

Expand Down Expand Up @@ -68,7 +68,7 @@ partial void ProcessGetThreadResponseContent(
PrepareRequest(
client: HttpClient,
request: __httpRequest);
PrepareGetThreadRequest(
PrepareRetrieveThreadRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
threadId: threadId);
Expand All @@ -81,7 +81,7 @@ partial void ProcessGetThreadResponseContent(
ProcessResponse(
client: HttpClient,
response: __response);
ProcessGetThreadResponse(
ProcessRetrieveThreadResponse(
httpClient: HttpClient,
httpResponseMessage: __response);

Expand All @@ -97,7 +97,7 @@ partial void ProcessGetThreadResponseContent(
client: HttpClient,
response: __response,
content: ref __content);
ProcessGetThreadResponseContent(
ProcessRetrieveThreadResponseContent(
httpClient: HttpClient,
httpResponseMessage: __response,
content: ref __content);
Expand Down
Loading
Loading