From 34f293b5fcc4d756b151d95cbc229ca3e162b8ea Mon Sep 17 00:00:00 2001 From: gil zhang Date: Sat, 23 Mar 2024 20:44:14 +0800 Subject: [PATCH] remove chatgptsharp package --- src/ElectronBot.Braincase/ElectronBot.Braincase.csproj | 1 - .../Services/Chatbot/ChatGPTChatbotClient.cs | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ElectronBot.Braincase/ElectronBot.Braincase.csproj b/src/ElectronBot.Braincase/ElectronBot.Braincase.csproj index 5eb0edd..a0532e2 100644 --- a/src/ElectronBot.Braincase/ElectronBot.Braincase.csproj +++ b/src/ElectronBot.Braincase/ElectronBot.Braincase.csproj @@ -245,7 +245,6 @@ - diff --git a/src/ElectronBot.Braincase/Services/Chatbot/ChatGPTChatbotClient.cs b/src/ElectronBot.Braincase/Services/Chatbot/ChatGPTChatbotClient.cs index 30e45e6..aeabc7c 100644 --- a/src/ElectronBot.Braincase/Services/Chatbot/ChatGPTChatbotClient.cs +++ b/src/ElectronBot.Braincase/Services/Chatbot/ChatGPTChatbotClient.cs @@ -1,6 +1,4 @@ - -using ChatGPTSharp; -using Contracts.Services; +using Contracts.Services; using ElectronBot.Braincase; using ElectronBot.Braincase.Contracts.Services; using ElectronBot.Braincase.Helpers; @@ -16,8 +14,6 @@ public class ChatGPTChatbotClient : IChatbotClient private readonly ILocalSettingsService _localSettingsService; private Kernel? _kernel; - - private ChatGPTClient? _chatGptClient; public ChatGPTChatbotClient(ILocalSettingsService localSettingsService) { _localSettingsService = localSettingsService;