diff --git a/dotnet/src/SemanticKernel.Abstractions/Kernel.cs b/dotnet/src/SemanticKernel.Abstractions/Kernel.cs index c466fb9f6485..2b9052843cc9 100644 --- a/dotnet/src/SemanticKernel.Abstractions/Kernel.cs +++ b/dotnet/src/SemanticKernel.Abstractions/Kernel.cs @@ -263,7 +263,7 @@ public IEnumerable GetAllServices() where T : class // M.E.DI doesn't support querying for a service without a key, and it also doesn't // support AnyKey currently: https://github.com/dotnet/runtime/issues/91466 // As a workaround, KernelBuilder injects a service containing the type-to-all-keys - // mapping. We can query for that service and and then use it to try to get a service. + // mapping. We can query for that service and then use it to try to get a service. if (this.Services.GetKeyedService>>(KernelServiceTypeToKeyMappings) is { } typeToKeyMappings) { if (typeToKeyMappings.TryGetValue(typeof(T), out HashSet? keys))