From 4ce756d760f6633e08da4e988adf6fd8e86c4877 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Fri, 5 Jul 2024 04:48:00 +0000 Subject: [PATCH] fix: if prompt ai responds with chat, it will prevent further further execution of tthat input to prevent the same query running multiple times --- src/NadekoBot/Modules/Utility/Ai/AiAssistantService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NadekoBot/Modules/Utility/Ai/AiAssistantService.cs b/src/NadekoBot/Modules/Utility/Ai/AiAssistantService.cs index 805d9bdb5..5fc610958 100644 --- a/src/NadekoBot/Modules/Utility/Ai/AiAssistantService.cs +++ b/src/NadekoBot/Modules/Utility/Ai/AiAssistantService.cs @@ -251,7 +251,7 @@ public sealed class AiAssistantService return false; await _cbs.RunChatterBot(sg, msg, channel, sess, query); - return false; + return true; } var commandString = GetCommandString(model);