From 54224557f03d2ea3a0b41139e85a4a106b09db6d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Tue, 27 May 2025 09:02:44 +0200 Subject: [PATCH] generalize the `:` thing in llm apis --- .config/quickshell/services/Ai.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/quickshell/services/Ai.qml b/.config/quickshell/services/Ai.qml index 757a2a1e3..4b0c4928a 100644 --- a/.config/quickshell/services/Ai.qml +++ b/.config/quickshell/services/Ai.qml @@ -391,9 +391,7 @@ Singleton { cleanData = cleanData.slice(5).trim(); } // console.log("Clean data: ", cleanData); - if (!cleanData || - cleanData === ": OPENROUTER PROCESSING" - ) return; + if (!cleanData || cleanData.startsWith(":")) return; if (cleanData === "[DONE]") { requester.message.done = true;