From 7bcef5e078cfd7b6cf5308511820d343b521b0ad Mon Sep 17 00:00:00 2001 From: MinLL Date: Fri, 18 Oct 2024 12:16:02 -0700 Subject: [PATCH] Add toggle for disabling emotes from LLM response --- minai_plugin/config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/minai_plugin/config.php b/minai_plugin/config.php index 5645896..6b1d13a 100644 --- a/minai_plugin/config.php +++ b/minai_plugin/config.php @@ -52,6 +52,9 @@ // Set this to force the xtts server to be the same for all profiles $GLOBALS["xtts_server_override"] = ""; +// Cleanup emotes like *smirking* from the LLM's response. Disabled by default as some LLM's use *'s for quotes. +$GLOBALS["strip_emotes_from_output"] = false; + // How many seconds after player input should radiant dialogue be blocked? // This is intended to prevent the situation where the player begins talking, and a radiant conversation is // triggered before the LLM and TTS have finished with rthe response. For radiant dialogue frequency configuration,