From a9d0a8b3c54a7d6c8923c4652044a37bf41fe438 Mon Sep 17 00:00:00 2001 From: mostlikely4r Date: Fri, 29 Nov 2024 14:32:54 +0100 Subject: [PATCH] AI chat: When debug llm is enabled the debug output is no longer added to the context --- playerbot/strategy/actions/RpgSubActions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playerbot/strategy/actions/RpgSubActions.cpp b/playerbot/strategy/actions/RpgSubActions.cpp index 580870cb..876efd74 100644 --- a/playerbot/strategy/actions/RpgSubActions.cpp +++ b/playerbot/strategy/actions/RpgSubActions.cpp @@ -352,7 +352,7 @@ bool RpgAIChatAction::SpeakLine() } } - if (message.find("d:") != std::string::npos) + if (message.find("d:") == std::string::npos) { std::string llmContext = AI_VALUE(std::string, "manual string::llmcontext rpg"); llmContext = llmContext + " " + message;