Update ChatGptService.cs
hide error message on failure to talk to AI
This commit is contained in:
parent
f72e0972ee
commit
65210c6f87
1 changed files with 2 additions and 2 deletions
|
|
@ -309,9 +309,9 @@ namespace SecondBotEvents.Services
|
|||
else if (role == "assistant") messages.Add(ChatMessage.FromAssistant(thismessage));
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
LogFormater.Warn("error building AI request:" + ex.Message);
|
||||
//LogFormater.Warn("error building AI request:" + ex.Message);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue