diff --git a/webapi/Controllers/ChatController.cs b/webapi/Controllers/ChatController.cs index 2f16c20b0..46ecdf0f2 100644 --- a/webapi/Controllers/ChatController.cs +++ b/webapi/Controllers/ChatController.cs @@ -292,7 +292,7 @@ await planner.Kernel.ImportPluginFunctionsAsync( if (openApiSkillsAuthHeaders.TryGetValue("JIRA", out string? JiraAuthHeader)) { this._logger.LogInformation("Registering Jira plugin"); - var authenticationProvider = new BearerAuthenticationProvider(() => { return Task.FromResult(JiraAuthHeader); }); + var authenticationProvider = new BasicAuthenticationProvider(() => { return Task.FromResult(JiraAuthHeader); }); var hasServerUrlOverride = variables.TryGetValue("jira-server-url", out string? serverUrlOverride); await planner.Kernel.ImportPluginFunctionsAsync( diff --git a/webapi/Services/SemanticKernelProvider.cs b/webapi/Services/SemanticKernelProvider.cs index 29763d2ae..44dcd0888 100644 --- a/webapi/Services/SemanticKernelProvider.cs +++ b/webapi/Services/SemanticKernelProvider.cs @@ -191,7 +191,7 @@ IMemoryStore CreateMemoryStore() var qdrantConfig = memoryOptions.GetServiceConfig(configuration, "Qdrant"); #pragma warning disable CA2000 // Ownership passed to QdrantMemoryStore - HttpClient httpClient = new(new HttpClientHandler { CheckCertificateRevocationList = true }); // $$$ + HttpClient httpClient = new(new HttpClientHandler { CheckCertificateRevocationList = true }); #pragma warning restore CA2000 // Ownership passed to QdrantMemoryStore if (!string.IsNullOrWhiteSpace(qdrantConfig.APIKey)) {