diff --git a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs index c8fc7fc..e82d9ae 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.Authorizations.Bearer.g.cs @@ -5,10 +5,7 @@ namespace HuggingFace { public sealed partial class HuggingFaceClient { - /// - /// Authorize using bearer authentication. - /// - /// + /// public void AuthorizeUsingBearer( string apiKey) { diff --git a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.GenerateText.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.GenerateText.g.cs index f9ec2f8..b656416 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.GenerateText.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceClient.GenerateText.g.cs @@ -51,6 +51,10 @@ partial void ProcessGenerateTextResponseContent( 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/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.Authorizations.Bearer.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.Authorizations.Bearer.g.cs new file mode 100644 index 0000000..1da7f24 --- /dev/null +++ b/src/libs/HuggingFace/Generated/HuggingFace.IHuggingFaceClient.Authorizations.Bearer.g.cs @@ -0,0 +1,15 @@ + +#nullable enable + +namespace HuggingFace +{ + public partial interface IHuggingFaceClient + { + /// + /// Authorize using bearer authentication. + /// + /// + public void AuthorizeUsingBearer( + string apiKey); + } +} \ No newline at end of file