From 8f5a307cd9af9aec2f79bd49ca532fe28aca0054 Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Wed, 19 Feb 2025 10:08:26 -0600 Subject: [PATCH] remove comments --- .../Hooks/ChatHubConversationHook.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/ChatHubConversationHook.cs b/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/ChatHubConversationHook.cs index 8e8d210c..9f2c1008 100644 --- a/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/ChatHubConversationHook.cs +++ b/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/ChatHubConversationHook.cs @@ -45,7 +45,6 @@ public class ChatHubConversationHook : ConversationHookBase var user = await userService.GetUser(conv.User.Id); conv.User = UserViewModel.FromUser(user); - //await InitClientConversation(conv); await InitClientConversation(conv.Id, conv); await base.OnConversationInitialized(conversation); } @@ -68,7 +67,6 @@ public class ChatHubConversationHook : ConversationHookBase Sender = UserViewModel.FromUser(sender) }; await ReceiveClientMessage(conv.ConversationId, model); - //await ReceiveClientMessage(model); // Send typing-on to client var action = new ConversationSenderActionModel @@ -78,7 +76,6 @@ public class ChatHubConversationHook : ConversationHookBase }; await GenerateSenderAction(conv.ConversationId, action); - //await GenerateSenderAction(action); await base.OnMessageReceived(message); } @@ -93,7 +90,6 @@ public class ChatHubConversationHook : ConversationHookBase }; await GenerateSenderAction(conv.ConversationId, action); - //await GenerateSenderAction(action); await base.OnFunctionExecuting(message); } @@ -132,8 +128,6 @@ public class ChatHubConversationHook : ConversationHookBase await GenerateSenderAction(conv.ConversationId, action); await ReceiveAssistantMessage(conv.ConversationId, json); - //await GenerateSenderAction(action); - //await ReceiveAssistantMessage(json); await base.OnResponseGenerated(message); } @@ -158,7 +152,6 @@ public class ChatHubConversationHook : ConversationHookBase }, _options.JsonSerializerOptions); await GenerateNotification(conv.ConversationId, json); - //await GenerateNotification(json); await base.OnNotificationGenerated(message); } @@ -172,7 +165,6 @@ public class ChatHubConversationHook : ConversationHookBase }; await DeleteMessage(conversationId, model); - //await DeleteMessage(model); await base.OnMessageDeleted(conversationId, messageId); }