This commit is contained in:
Madpeter 2024-10-01 11:17:50 +01:00
parent d5c59e2d31
commit caea2fce43

View file

@ -322,6 +322,7 @@ namespace SecondBotEvents.Services
} }
try try
{ {
LogFormater.Debug(JsonConvert.ToString(messages));
string replyMessage = ""; string replyMessage = "";
var openAiService = new OpenAIService(new OpenAiOptions() 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; return;
} }