Skip to content

Commit 61fb8b1

Browse files
committed
Changed prompts.relatedQueries.base placeholder delimiters for prevQuery to % for readability
1 parent 3c62f1f commit 61fb8b1

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

bravegpt/greasemonkey/bravegpt.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.1.24.3
151+
// @version 2025.1.24.4
152152
// @license MIT
153153
// @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0
154154
// @icon64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0
@@ -2797,7 +2797,7 @@
27972797
return elem
27982798
})
27992799
let builtPrompt = promptElems.join(' ').trim()
2800-
if (prevQuery) builtPrompt = builtPrompt.replace('${prevQuery}', prevQuery)
2800+
if (prevQuery) builtPrompt = builtPrompt.replace('%prevQuery%', prevQuery)
28012801
return builtPrompt
28022802
},
28032803

@@ -2842,7 +2842,7 @@
28422842
get base() {
28432843
return `Print me a numbered list of ${
28442844
get.related.replyIsQuestion ? 'possible answers to this question'
2845-
: 'queries related to this one' }:\n\n"\${prevQuery}"\n\n`
2845+
: 'queries related to this one' }:\n\n"%prevQuery%"\n\n`
28462846
},
28472847
get mods() {
28482848
return [

duckduckgpt/greasemonkey/duckduckgpt.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
// @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149149
// @author KudoAI
150150
// @namespace https://kudoai.com
151-
// @version 2025.1.24.3
151+
// @version 2025.1.24.4
152152
// @license MIT
153153
// @icon https://assets.ddgpt.com/images/icons/duckduckgpt/icon48.png?v=06af076
154154
// @icon64 https://assets.ddgpt.com/images/icons/duckduckgpt/icon64.png?v=06af076
@@ -2683,7 +2683,7 @@
26832683
return elem
26842684
})
26852685
let builtPrompt = promptElems.join(' ').trim()
2686-
if (prevQuery) builtPrompt = builtPrompt.replace('${prevQuery}', prevQuery)
2686+
if (prevQuery) builtPrompt = builtPrompt.replace('%prevQuery%', prevQuery)
26872687
return builtPrompt
26882688
},
26892689

@@ -2728,7 +2728,7 @@
27282728
get base() {
27292729
return `Print me a numbered list of ${
27302730
get.related.replyIsQuestion ? 'possible answers to this question'
2731-
: 'queries related to this one' }:\n\n"\${prevQuery}"\n\n`
2731+
: 'queries related to this one' }:\n\n"%prevQuery%"\n\n`
27322732
},
27332733
get mods() {
27342734
return [

googlegpt/greasemonkey/googlegpt.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
150150
// @author KudoAI
151151
// @namespace https://kudoai.com
152-
// @version 2025.1.24.3
152+
// @version 2025.1.24.4
153153
// @license MIT
154154
// @icon https://assets.googlegpt.io/images/icons/googlegpt/black/icon48.png?v=59409b2
155155
// @icon64 https://assets.googlegpt.io/images/icons/googlegpt/black/icon64.png?v=59409b2
@@ -2972,7 +2972,7 @@
29722972
return elem
29732973
})
29742974
let builtPrompt = promptElems.join(' ').trim()
2975-
if (prevQuery) builtPrompt = builtPrompt.replace('${prevQuery}', prevQuery)
2975+
if (prevQuery) builtPrompt = builtPrompt.replace('%prevQuery%', prevQuery)
29762976
return builtPrompt
29772977
},
29782978

@@ -3017,7 +3017,7 @@
30173017
get base() {
30183018
return `Print me a numbered list of ${
30193019
get.related.replyIsQuestion ? 'possible answers to this question'
3020-
: 'queries related to this one' }:\n\n"\${prevQuery}"\n\n`
3020+
: 'queries related to this one' }:\n\n"%prevQuery%"\n\n`
30213021
},
30223022
get mods() {
30233023
return [

0 commit comments

Comments
 (0)