diff --git a/greasemonkey/googlegpt.user.js b/greasemonkey/googlegpt.user.js index 38f6872e..ee3ab8fc 100644 --- a/greasemonkey/googlegpt.user.js +++ b/greasemonkey/googlegpt.user.js @@ -149,7 +149,7 @@ // @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2025.1.15.10 +// @version 2025.1.15.11 // @license MIT // @icon https://assets.googlegpt.io/images/icons/googlegpt/black/icon48.png?v=59409b2 // @icon64 https://assets.googlegpt.io/images/icons/googlegpt/black/icon64.png?v=59409b2 @@ -3058,7 +3058,7 @@ create({ type, prevQuery }) { const promptSrc = this[type], - modsToApply = promptSrc.mods?.flatMap(mod => typeof mod == 'string' ? mod : mod.mods) + modsToApply = promptSrc.mods?.flatMap(mod => typeof mod == 'string' ? mod : mod.mods) || [] let builtPrompt = `${promptSrc.base} ${modsToApply?.join(' ')}`.trim() if (prevQuery) builtPrompt = builtPrompt.replace('${prevQuery}', prevQuery) return builtPrompt