From bec142f8ba7489a16260418c15cd1151ab6081fd Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Wed, 8 May 2024 14:33:03 -0500 Subject: [PATCH] remove comments --- .../BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs b/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs index cd34fa1a..e32a1c36 100644 --- a/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs +++ b/src/Plugins/BotSharp.Plugin.ChatHub/Hooks/StreamingLogHook.cs @@ -190,14 +190,6 @@ public class StreamingLogHook : ConversationHookBase, IContentGeneratingHook, IR var log = $"{GetMessageContent(message)}"; if (message.RichContent != null || message.SecondaryRichContent != null) { - //var jsonOptions = new JsonSerializerOptions - //{ - // PropertyNameCaseInsensitive = true, - // PropertyNamingPolicy = JsonNamingPolicy.CamelCase, - // AllowTrailingCommas = true, - // WriteIndented = true, - // Encoder = JavaScriptEncoder.Create(UnicodeRanges.All) - //}; var richContent = JsonSerializer.Serialize(message.SecondaryRichContent ?? message.RichContent, _localJsonOptions); log += $"\r\n```json\r\n{richContent}\r\n```"; }