Skip to content

Commit fe0ce82

Browse files
author
github-actions[bot]
committed
feat: Updated OpenAPI spec
1 parent fa5dcd6 commit fe0ce82

File tree

98 files changed

+400
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+400
-4
lines changed

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.CancelRun.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ partial void ProcessCancelRunResponseContent(
5050
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
5151
method: global::System.Net.Http.HttpMethod.Post,
5252
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
53+
#if NET6_0_OR_GREATER
54+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
55+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
56+
#endif
5357

5458
foreach (var __authorization in Authorizations)
5559
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.CreateAssistant.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ partial void ProcessCreateAssistantResponseContent(
4747
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
4848
method: global::System.Net.Http.HttpMethod.Post,
4949
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
50+
#if NET6_0_OR_GREATER
51+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
52+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
53+
#endif
5054

5155
foreach (var __authorization in Authorizations)
5256
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.CreateMessage.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ partial void ProcessCreateMessageResponseContent(
5252
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
5353
method: global::System.Net.Http.HttpMethod.Post,
5454
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
55+
#if NET6_0_OR_GREATER
56+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
57+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
58+
#endif
5559

5660
foreach (var __authorization in Authorizations)
5761
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.CreateRun.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ partial void ProcessCreateRunResponseContent(
5757
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
5858
method: global::System.Net.Http.HttpMethod.Post,
5959
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
60+
#if NET6_0_OR_GREATER
61+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
62+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
63+
#endif
6064

6165
foreach (var __authorization in Authorizations)
6266
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.CreateThread.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ partial void ProcessCreateThreadResponseContent(
4747
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
4848
method: global::System.Net.Http.HttpMethod.Post,
4949
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
50+
#if NET6_0_OR_GREATER
51+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
52+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
53+
#endif
5054

5155
foreach (var __authorization in Authorizations)
5256
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.CreateThreadAndRun.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ partial void ProcessCreateThreadAndRunResponseContent(
4747
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
4848
method: global::System.Net.Http.HttpMethod.Post,
4949
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
50+
#if NET6_0_OR_GREATER
51+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
52+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
53+
#endif
5054

5155
foreach (var __authorization in Authorizations)
5256
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.DeleteAssistant.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ partial void ProcessDeleteAssistantResponseContent(
4545
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
4646
method: global::System.Net.Http.HttpMethod.Delete,
4747
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
48+
#if NET6_0_OR_GREATER
49+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
50+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
51+
#endif
4852

4953
foreach (var __authorization in Authorizations)
5054
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.DeleteMessage.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ partial void ProcessDeleteMessageResponseContent(
5050
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
5151
method: global::System.Net.Http.HttpMethod.Delete,
5252
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
53+
#if NET6_0_OR_GREATER
54+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
55+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
56+
#endif
5357

5458
foreach (var __authorization in Authorizations)
5559
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.DeleteThread.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ partial void ProcessDeleteThreadResponseContent(
4545
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
4646
method: global::System.Net.Http.HttpMethod.Delete,
4747
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
48+
#if NET6_0_OR_GREATER
49+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
50+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
51+
#endif
4852

4953
foreach (var __authorization in Authorizations)
5054
{

src/libs/OpenAI/Generated/OpenAI.AssistantsClient.GetAssistant.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ partial void ProcessGetAssistantResponseContent(
4545
using var __httpRequest = new global::System.Net.Http.HttpRequestMessage(
4646
method: global::System.Net.Http.HttpMethod.Get,
4747
requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute));
48+
#if NET6_0_OR_GREATER
49+
__httpRequest.Version = global::System.Net.HttpVersion.Version11;
50+
__httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher;
51+
#endif
4852

4953
foreach (var __authorization in Authorizations)
5054
{

0 commit comments

Comments
 (0)