From 50bfc27533aa6bbc3f0864d4a6c4b70a49f29f56 Mon Sep 17 00:00:00 2001 From: Jicheng Lu Date: Sun, 30 Jun 2024 21:15:24 -0500 Subject: [PATCH] minor change --- .../BotSharp.Core/Infrastructures/CompletionProvider.cs | 2 -- 1 file changed, 2 deletions(-) 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; }