File tree Expand file tree Collapse file tree
BotSharp.Abstraction/Conversations/Enums
BotSharp.Core/Conversations/Services Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ namespace BotSharp.Abstraction.Conversations.Enums;
33public static class MessageTypeName
44{
55 public const string Plain = "plain" ;
6- public const string Notification = "notification" ;
76 public const string FunctionCall = "function" ;
87 public const string Audio = "audio" ;
98 public const string Error = "error" ;
Original file line number Diff line number Diff line change 1- using BotSharp . Abstraction . Conversations . Enums ;
21using BotSharp . Abstraction . MLTasks ;
32using BotSharp . Abstraction . Models ;
43using BotSharp . Abstraction . Settings ;
@@ -24,7 +23,6 @@ public async Task<string> GetConversationSummary(ConversationSummaryModel model)
2423
2524 if ( dialogs . IsNullOrEmpty ( ) ) continue ;
2625
27- dialogs = dialogs . Where ( x => x . MessageType != MessageTypeName . Notification ) . ToList ( ) ;
2826 var content = GetConversationContent ( dialogs ) ;
2927 if ( string . IsNullOrWhiteSpace ( content ) ) continue ;
3028
You can’t perform that action at this time.
0 commit comments