Update ChatGptService.cs
This commit is contained in:
parent
caea2fce43
commit
28a1e23d79
1 changed files with 2 additions and 2 deletions
|
|
@ -322,7 +322,7 @@ namespace SecondBotEvents.Services
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
LogFormater.Debug(JsonConvert.ToString(messages));
|
LogFormater.Debug(JsonConvert.SerializeObject(messages));
|
||||||
string replyMessage = "";
|
string replyMessage = "";
|
||||||
var openAiService = new OpenAIService(new OpenAiOptions()
|
var openAiService = new OpenAIService(new OpenAiOptions()
|
||||||
{
|
{
|
||||||
|
|
@ -363,7 +363,7 @@ namespace SecondBotEvents.Services
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
LogFormater.Debug(JsonConvert.ToString(completionResult));
|
LogFormater.Debug(JsonConvert.SerializeObject(completionResult));
|
||||||
if (completionResult == null)
|
if (completionResult == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue