diff --git a/src/Infrastructure/BotSharp.Core/Infrastructures/CompletionProvider.cs b/src/Infrastructure/BotSharp.Core/Infrastructures/CompletionProvider.cs index 5cd8f861..f78edf8e 100644 --- a/src/Infrastructure/BotSharp.Core/Infrastructures/CompletionProvider.cs +++ b/src/Infrastructure/BotSharp.Core/Infrastructures/CompletionProvider.cs @@ -104,7 +104,6 @@ public class CompletionProvider string? model = null) { var completions = services.GetServices(); - (provider, model) = GetProviderAndModel(services, provider: provider, model: model); var completer = completions.FirstOrDefault(x => x.Provider == provider); @@ -115,7 +114,6 @@ public class CompletionProvider } completer.SetModelName(model); - return completer; }