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 @@ -55,6 +55,9 @@ partial void ProcessCreateRunResponseContent(
var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder(
path: $"/threads/{threadId}/runs",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("include[]", include, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Post,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ partial void ProcessGetRunStepResponseContent(
var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder(
path: $"/threads/{threadId}/runs/{runId}/steps/{stepId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("include[]", include, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ partial void ProcessListRunStepsResponseContent(
.AddOptionalParameter("order", order?.ToValueString())
.AddOptionalParameter("after", after)
.AddOptionalParameter("before", before)
.AddOptionalParameter("include[]", include, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ partial void ProcessListAuditLogsResponseContent(
.AddOptionalParameter("lt", effectiveAt?.Lt?.ToString())
.AddOptionalParameter("lte", effectiveAt?.Lte?.ToString())
.AddOptionalParameter("project_ids[]", projectIds, delimiter: ",", explode: true)
.AddOptionalParameter("event_types[]", eventTypes, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("actor_ids[]", actorIds, delimiter: ",", explode: true)
.AddOptionalParameter("actor_emails[]", actorEmails, delimiter: ",", explode: true)
.AddOptionalParameter("resource_ids[]", resourceIds, delimiter: ",", explode: true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ partial void ProcessGetCertificateResponseContent(
var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder(
path: $"/organization/certificates/{certificateId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ partial void ProcessGetResponseResponseContent(
var __pathBuilder = new global::tryAGI.OpenAI.PathBuilder(
path: $"/responses/{responseId}",
baseUri: HttpClient.BaseAddress);
__pathBuilder
.AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
method: global::System.Net.Http.HttpMethod.Get,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ partial void ProcessListInputItemsResponseContent(
.AddOptionalParameter("order", order?.ToValueString())
.AddOptionalParameter("after", after)
.AddOptionalParameter("before", before)
.AddOptionalParameter("include", include, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
;
var __path = __pathBuilder.ToString();
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ partial void ProcessUsageAudioSpeechesResponseContent(
.AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true)
.AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true)
.AddOptionalParameter("models", models, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ partial void ProcessUsageAudioTranscriptionsResponseContent(
.AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true)
.AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true)
.AddOptionalParameter("models", models, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ partial void ProcessUsageCodeInterpreterSessionsResponseContent(
.AddOptionalParameter("end_time", endTime?.ToString())
.AddOptionalParameter("bucket_width", bucketWidth?.ToValueString())
.AddOptionalParameter("project_ids", projectIds, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ partial void ProcessUsageCompletionsResponseContent(
.AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true)
.AddOptionalParameter("models", models, delimiter: ",", explode: true)
.AddOptionalParameter("batch", batch?.ToString())
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ partial void ProcessUsageCostsResponseContent(
.AddOptionalParameter("end_time", endTime?.ToString())
.AddOptionalParameter("bucket_width", bucketWidth?.ToValueString())
.AddOptionalParameter("project_ids", projectIds, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ partial void ProcessUsageEmbeddingsResponseContent(
.AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true)
.AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true)
.AddOptionalParameter("models", models, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,13 @@ partial void ProcessUsageImagesResponseContent(
.AddRequiredParameter("start_time", startTime.ToString())
.AddOptionalParameter("end_time", endTime?.ToString())
.AddOptionalParameter("bucket_width", bucketWidth?.ToValueString())
.AddOptionalParameter("sources", sources, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("sizes", sizes, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("project_ids", projectIds, delimiter: ",", explode: true)
.AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true)
.AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true)
.AddOptionalParameter("models", models, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ partial void ProcessUsageModerationsResponseContent(
.AddOptionalParameter("user_ids", userIds, delimiter: ",", explode: true)
.AddOptionalParameter("api_key_ids", apiKeyIds, delimiter: ",", explode: true)
.AddOptionalParameter("models", models, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ partial void ProcessUsageVectorStoresResponseContent(
.AddOptionalParameter("end_time", endTime?.ToString())
.AddOptionalParameter("bucket_width", bucketWidth?.ToValueString())
.AddOptionalParameter("project_ids", projectIds, delimiter: ",", explode: true)
.AddOptionalParameter("group_by", groupBy, selector: static x => x.ToValueString(), delimiter: ",", explode: true)
.AddOptionalParameter("limit", limit?.ToString())
.AddOptionalParameter("page", page)
;
Expand Down
Loading