From caea2fce43e00c0a2d117ab1ab006ea4e1b27ef4 Mon Sep 17 00:00:00 2001 From: Madpeter <57852827+Madpeterz@users.noreply.github.com> Date: Tue, 1 Oct 2024 11:17:50 +0100 Subject: [PATCH] test --- SecondBotEvents/Services/ChatGptService.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SecondBotEvents/Services/ChatGptService.cs b/SecondBotEvents/Services/ChatGptService.cs index 4777ef2..824c964 100644 --- a/SecondBotEvents/Services/ChatGptService.cs +++ b/SecondBotEvents/Services/ChatGptService.cs @@ -322,6 +322,7 @@ namespace SecondBotEvents.Services } try { + LogFormater.Debug(JsonConvert.ToString(messages)); string replyMessage = ""; var openAiService = new OpenAIService(new OpenAiOptions() { @@ -362,7 +363,8 @@ namespace SecondBotEvents.Services }); } - if(completionResult == null) + LogFormater.Debug(JsonConvert.ToString(completionResult)); + if (completionResult == null) { return; }