diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountEmailValues.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountEmailValues.g.cs index e7fc57c..df1995c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountEmailValues.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountEmailValues.g.cs @@ -44,6 +44,10 @@ partial void ProcessAccountEmailValuesResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountRateLimit.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountRateLimit.g.cs index f75651a..31274db 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountRateLimit.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountRateLimit.g.cs @@ -44,6 +44,10 @@ partial void ProcessAccountRateLimitResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountSetUsername.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountSetUsername.g.cs index 1f675b8..3d7324c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountSetUsername.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountSetUsername.g.cs @@ -51,6 +51,10 @@ partial void ProcessAccountSetUsernameResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetails.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetails.g.cs index 64a305b..dc5276e 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetails.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.AccountUpdateDetails.g.cs @@ -51,6 +51,10 @@ partial void ProcessAccountUpdateDetailsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Authorizations.Bearer.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Authorizations.Bearer.g.cs index b30048b..d2c8178 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Authorizations.Bearer.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Authorizations.Bearer.g.cs @@ -5,10 +5,7 @@ namespace DeepInfra { public sealed partial class DeepInfraApi { - /// - /// Authorize using bearer authentication. - /// - /// + /// public void AuthorizeUsingBearer( string apiKey) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.BillingPortal.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.BillingPortal.g.cs index f6a0065..36f19ba 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.BillingPortal.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.BillingPortal.g.cs @@ -54,6 +54,10 @@ partial void ProcessBillingPortalResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CliVersion.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CliVersion.g.cs index 154734a..9b0c17c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CliVersion.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CliVersion.g.cs @@ -47,6 +47,10 @@ partial void ProcessCliVersionResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateApiToken.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateApiToken.g.cs index b57b84a..6a93763 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateApiToken.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateApiToken.g.cs @@ -51,6 +51,10 @@ partial void ProcessCreateApiTokenResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateLora.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateLora.g.cs index 310469b..041ab69 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateLora.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateLora.g.cs @@ -51,6 +51,10 @@ partial void ProcessCreateLoraResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoice.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoice.g.cs index ef99d58..9c19169 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoice.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.CreateVoice.g.cs @@ -52,6 +52,10 @@ partial void ProcessCreateVoiceResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs index da3f537..e2b7df4 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeepstartApply.g.cs @@ -51,6 +51,10 @@ partial void ProcessDeepstartApplyResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteAccount.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteAccount.g.cs index 15ba7d4..8505534 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteAccount.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteAccount.g.cs @@ -44,6 +44,10 @@ partial void ProcessDeleteAccountResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteApiToken.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteApiToken.g.cs index 1888dcf..01e110b 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteApiToken.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteApiToken.g.cs @@ -49,6 +49,10 @@ partial void ProcessDeleteApiTokenResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLora.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLora.g.cs index afe17ba..60e4898 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLora.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLora.g.cs @@ -49,6 +49,10 @@ partial void ProcessDeleteLoraResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLoraModel.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLoraModel.g.cs index 2896da5..707fe96 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLoraModel.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteLoraModel.g.cs @@ -49,6 +49,10 @@ partial void ProcessDeleteLoraModelResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoice.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoice.g.cs index bd4b097..dd318a3 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoice.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeleteVoice.g.cs @@ -49,6 +49,10 @@ partial void ProcessDeleteVoiceResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreate.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreate.g.cs index 0d0a3c3..aed4ab6 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreate.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreate.g.cs @@ -51,6 +51,10 @@ partial void ProcessDeployCreateResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateHf.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateHf.g.cs index 20e3fb6..eed9d2e 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateHf.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateHf.g.cs @@ -51,6 +51,10 @@ partial void ProcessDeployCreateHfResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs index 792a444..da84d65 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployCreateLlm.g.cs @@ -51,6 +51,10 @@ partial void ProcessDeployCreateLlmResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDelete.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDelete.g.cs index 778eca3..4d0f22b 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDelete.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDelete.g.cs @@ -49,6 +49,10 @@ partial void ProcessDeployDeleteResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs index 9c2bd26..4aa24cd 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployDetailedStats.g.cs @@ -68,6 +68,10 @@ partial void ProcessDeployDetailedStatsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployGpuAvailability.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployGpuAvailability.g.cs index e800462..b995b88 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployGpuAvailability.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployGpuAvailability.g.cs @@ -52,6 +52,10 @@ partial void ProcessDeployGpuAvailabilityResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployList2.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployList2.g.cs index a0976da..01e20e0 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployList2.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployList2.g.cs @@ -54,6 +54,10 @@ partial void ProcessDeployList2ResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs index 8a2e4cb..f39e57c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStats.g.cs @@ -68,6 +68,10 @@ partial void ProcessDeployStatsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStatus.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStatus.g.cs index 4223c1d..d79c81a 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStatus.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployStatus.g.cs @@ -49,6 +49,10 @@ partial void ProcessDeployStatusResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployUpdate.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployUpdate.g.cs index 889ba3d..883984d 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployUpdate.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeployUpdate.g.cs @@ -56,6 +56,10 @@ partial void ProcessDeployUpdateResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Put, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs index c0ae6a7..3037f95 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.DeploymentLogsQuery.g.cs @@ -93,6 +93,10 @@ partial void ProcessDeploymentLogsQueryResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiToken.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiToken.g.cs index d8feb86..2d754e1 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiToken.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiToken.g.cs @@ -49,6 +49,10 @@ partial void ProcessGetApiTokenResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiTokens.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiTokens.g.cs index 444d955..a342cb2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiTokens.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetApiTokens.g.cs @@ -44,6 +44,10 @@ partial void ProcessGetApiTokensResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetChecklist.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetChecklist.g.cs index 34f1ccc..5bb7fd0 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetChecklist.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetChecklist.g.cs @@ -44,6 +44,10 @@ partial void ProcessGetChecklistResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetConfig.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetConfig.g.cs index 47309d6..4830bdc 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetConfig.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetConfig.g.cs @@ -44,6 +44,10 @@ partial void ProcessGetConfigResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLora.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLora.g.cs index 7f1d97b..fab6ca6 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLora.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLora.g.cs @@ -49,6 +49,10 @@ partial void ProcessGetLoraResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLoraStatus.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLoraStatus.g.cs index e7e3058..03a31ca 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLoraStatus.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetLoraStatus.g.cs @@ -49,6 +49,10 @@ partial void ProcessGetLoraStatusResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetModelLoras.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetModelLoras.g.cs index 825c4ab..4fae3d8 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetModelLoras.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetModelLoras.g.cs @@ -49,6 +49,10 @@ partial void ProcessGetModelLorasResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetUserLoras.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetUserLoras.g.cs index 1db9be4..e32d0b4 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetUserLoras.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetUserLoras.g.cs @@ -44,6 +44,10 @@ partial void ProcessGetUserLorasResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoice.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoice.g.cs index 696cebf..a5a931f 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoice.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoice.g.cs @@ -50,6 +50,10 @@ partial void ProcessGetVoiceResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoices.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoices.g.cs index 996ae55..9a06993 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoices.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GetVoices.g.cs @@ -45,6 +45,10 @@ partial void ProcessGetVoicesResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubCliLogin.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubCliLogin.g.cs index de1fb99..e8a7dbb 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubCliLogin.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubCliLogin.g.cs @@ -49,6 +49,10 @@ partial void ProcessGithubCliLoginResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubLogin.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubLogin.g.cs index 776f1b4..710a6c7 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubLogin.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.GithubLogin.g.cs @@ -66,6 +66,10 @@ partial void ProcessGithubLoginResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs index 60d73cf..b86de1f 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceDeploy.g.cs @@ -59,6 +59,10 @@ partial void ProcessInferenceDeployResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceModel.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceModel.g.cs index 6319c29..18b1795 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceModel.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.InferenceModel.g.cs @@ -69,6 +69,10 @@ partial void ProcessInferenceModelResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs index e1ca4e3..6164664 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.LogsQuery.g.cs @@ -85,6 +85,10 @@ partial void ProcessLogsQueryResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Me.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Me.g.cs index 7feaa27..addaca9 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Me.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Me.g.cs @@ -44,6 +44,10 @@ partial void ProcessMeResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelDelete.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelDelete.g.cs index 902daae..08ddc0c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelDelete.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelDelete.g.cs @@ -59,6 +59,10 @@ partial void ProcessModelDeleteResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Delete, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelMetaUpdate.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelMetaUpdate.g.cs index 9499eb7..135a08d 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelMetaUpdate.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelMetaUpdate.g.cs @@ -56,6 +56,10 @@ partial void ProcessModelMetaUpdateResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelPublicity.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelPublicity.g.cs index 873dbdf..99b6bf6 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelPublicity.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelPublicity.g.cs @@ -56,6 +56,10 @@ partial void ProcessModelPublicityResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelSchema.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelSchema.g.cs index c6aef49..58659e8 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelSchema.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelSchema.g.cs @@ -64,6 +64,10 @@ partial void ProcessModelSchemaResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelVersions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelVersions.g.cs index eae726c..6013d45 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelVersions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelVersions.g.cs @@ -49,6 +49,10 @@ partial void ProcessModelVersionsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsFeatured.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsFeatured.g.cs index 7bb0215..02c37f6 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsFeatured.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsFeatured.g.cs @@ -39,6 +39,10 @@ partial void ProcessModelsFeaturedResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsInfo.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsInfo.g.cs index 1c4573c..8dc5de4 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsInfo.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsInfo.g.cs @@ -57,6 +57,10 @@ partial void ProcessModelsInfoResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsList.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsList.g.cs index 4dd4e06..608ab50 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsList.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.ModelsList.g.cs @@ -39,6 +39,10 @@ partial void ProcessModelsListResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OktaLogin.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OktaLogin.g.cs index ee86d09..e7dd3e2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OktaLogin.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OktaLogin.g.cs @@ -59,6 +59,10 @@ partial void ProcessOktaLoginResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs index 88f86e3..a1bd2a2 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioSpeech.g.cs @@ -56,6 +56,10 @@ partial void ProcessOpenaiAudioSpeechResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranscriptions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranscriptions.g.cs index f309936..9dc8276 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranscriptions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranscriptions.g.cs @@ -56,6 +56,10 @@ partial void ProcessOpenaiAudioTranscriptionsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranslations.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranslations.g.cs index d711227..b0984da 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranslations.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiAudioTranslations.g.cs @@ -56,6 +56,10 @@ partial void ProcessOpenaiAudioTranslationsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs index b6d3605..307594e 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiChatCompletions.g.cs @@ -61,6 +61,10 @@ partial void ProcessOpenaiChatCompletionsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs index 24b89eb..c5c6659 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiCompletions.g.cs @@ -61,6 +61,10 @@ partial void ProcessOpenaiCompletionsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs index 71ba556..b0e7636 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiEmbeddings.g.cs @@ -61,6 +61,10 @@ partial void ProcessOpenaiEmbeddingsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs index fe8a6b0..76cae65 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiFiles.g.cs @@ -51,6 +51,10 @@ partial void ProcessOpenaiFilesResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiModels.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiModels.g.cs index 89cdee2..deef79a 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiModels.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.OpenaiModels.g.cs @@ -44,6 +44,10 @@ partial void ProcessOpenaiModelsResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.PrivateModelsList.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.PrivateModelsList.g.cs index 9f7ea0c..a07c47c 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.PrivateModelsList.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.PrivateModelsList.g.cs @@ -44,6 +44,10 @@ partial void ProcessPrivateModelsListResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.RequestRateLimitIncrease.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.RequestRateLimitIncrease.g.cs index 7f40776..7d91ff9 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.RequestRateLimitIncrease.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.RequestRateLimitIncrease.g.cs @@ -51,6 +51,10 @@ partial void ProcessRequestRateLimitIncreaseResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SetConfig.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SetConfig.g.cs index 0b59988..bab74b3 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SetConfig.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SetConfig.g.cs @@ -51,6 +51,10 @@ partial void ProcessSetConfigResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SubmitFeedback.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SubmitFeedback.g.cs index 20850d2..5c4e1c1 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SubmitFeedback.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.SubmitFeedback.g.cs @@ -52,6 +52,10 @@ partial void ProcessSubmitFeedbackResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs index c3a12d0..15462c8 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.TextToSpeech.g.cs @@ -61,6 +61,10 @@ partial void ProcessTextToSpeechResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateLora.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateLora.g.cs index 5860f9a..dbadf8e 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateLora.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateLora.g.cs @@ -56,6 +56,10 @@ partial void ProcessUpdateLoraResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: new global::System.Net.Http.HttpMethod("PATCH"), requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoice.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoice.g.cs index 4160434..8a169d6 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoice.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UpdateVoice.g.cs @@ -56,6 +56,10 @@ partial void ProcessUpdateVoiceResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs index ae369a9..ad01482 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UploadLoraModel.g.cs @@ -51,6 +51,10 @@ partial void ProcessUploadLoraModelResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Post, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Usage.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Usage.g.cs index 6a2117b..d088bb8 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Usage.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.Usage.g.cs @@ -62,6 +62,10 @@ partial void ProcessUsageResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UsageApiToken.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UsageApiToken.g.cs index 1d87716..93bd04f 100644 --- a/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UsageApiToken.g.cs +++ b/src/libs/DeepInfra/Generated/DeepInfra.DeepInfraApi.UsageApiToken.g.cs @@ -67,6 +67,10 @@ partial void ProcessUsageApiTokenResponseContent( using var __httpRequest = new global::System.Net.Http.HttpRequestMessage( method: global::System.Net.Http.HttpMethod.Get, requestUri: new global::System.Uri(__path, global::System.UriKind.RelativeOrAbsolute)); +#if NET6_0_OR_GREATER + __httpRequest.Version = global::System.Net.HttpVersion.Version11; + __httpRequest.VersionPolicy = global::System.Net.Http.HttpVersionPolicy.RequestVersionOrHigher; +#endif foreach (var __authorization in Authorizations) { diff --git a/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.Authorizations.Bearer.g.cs b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.Authorizations.Bearer.g.cs new file mode 100644 index 0000000..8b24bf6 --- /dev/null +++ b/src/libs/DeepInfra/Generated/DeepInfra.IDeepInfraApi.Authorizations.Bearer.g.cs @@ -0,0 +1,15 @@ + +#nullable enable + +namespace DeepInfra +{ + public partial interface IDeepInfraApi + { + /// + /// Authorize using bearer authentication. + /// + /// + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file