diff --git a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.Constructors.Bearer.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.Constructors.Bearer.g.cs index 3ecb10f..20ca532 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.Constructors.Bearer.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.Constructors.Bearer.g.cs @@ -11,7 +11,17 @@ public HuggingFaceApi( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null) : this(httpClient, baseUri) { + Authorizing(_httpClient, ref apiKey); + AuthorizeUsingBearer(apiKey); + + Authorized(_httpClient); } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); } } \ No newline at end of file diff --git a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.g.cs b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.g.cs index fd67369..20f11fe 100644 --- a/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.g.cs +++ b/src/libs/HuggingFace/Generated/HuggingFace.HuggingFaceApi.g.cs @@ -32,6 +32,8 @@ public HuggingFaceApi( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -40,6 +42,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest(