Skip to content

Commit 9674736

Browse files
committed
Expanded apply prompts.humanity to all POST API payloads
1 parent 5098108 commit 9674736

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

amazongpt/greasemonkey/amazongpt.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Adds the magic of AI to Amazon shopping
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2025.1.21.4
6+
// @version 2025.1.21.5
77
// @license MIT
88
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
99
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
@@ -2508,6 +2508,7 @@
25082508

25092509
async createPayload(api, msgs) {
25102510
let payload = {} ; const time = Date.now(), lastUserMsg = msgs[msgs.length - 1]
2511+
lastUserMsg.content += ` {{${prompts.create({ type: 'humanity' })}}}`
25112512
if (api == 'OpenAI')
25122513
payload = { messages: msgs, model: 'gpt-3.5-turbo', max_tokens: 4000 }
25132514
else if (api == 'AIchatOS') {
@@ -2528,8 +2529,7 @@
25282529
prompt: lastUserMsg.content, secret: session.generateGPTFLkey(),
25292530
systemMessage: 'You are ChatGPT, the version is GPT-4o, a large language model trained by OpenAI. '
25302531
+ 'Follow the user\'s instructions carefully. '
2531-
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `
2532-
+ `${prompts.create({ type: 'humanity' })} `,
2532+
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `,
25332533
temperature: 0.8, top_p: 1
25342534
}
25352535
if (apis.GPTforLove.parentID) payload.options = { parentMessageId: apis.GPTforLove.parentID }

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.21.4
151+
// @version 2025.1.21.5
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
@@ -3206,6 +3206,7 @@
32063206

32073207
async createPayload(api, msgs) {
32083208
let payload = {} ; const time = Date.now(), lastUserMsg = msgs[msgs.length - 1]
3209+
lastUserMsg.content += ` {{${prompts.create({ type: 'humanity' })}}}`
32093210
if (api == 'OpenAI')
32103211
payload = { messages: msgs, model: 'gpt-3.5-turbo', max_tokens: 4000 }
32113212
else if (api == 'AIchatOS') {
@@ -3226,8 +3227,7 @@
32263227
prompt: lastUserMsg.content, secret: session.generateGPTFLkey(),
32273228
systemMessage: 'You are ChatGPT, the version is GPT-4o, a large language model trained by OpenAI. '
32283229
+ 'Follow the user\'s instructions carefully. '
3229-
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `
3230-
+ `${prompts.create({ type: 'humanity' })} `,
3230+
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `,
32313231
temperature: 0.8, top_p: 1
32323232
}
32333233
if (apis.GPTforLove.parentID) payload.options = { parentMessageId: apis.GPTforLove.parentID }

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.21.5
151+
// @version 2025.1.21.6
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
@@ -3092,6 +3092,7 @@
30923092

30933093
async createPayload(api, msgs) {
30943094
let payload = {} ; const time = Date.now(), lastUserMsg = msgs[msgs.length - 1]
3095+
lastUserMsg.content += ` {{${prompts.create({ type: 'humanity' })}}}`
30953096
if (api == 'OpenAI')
30963097
payload = { messages: msgs, model: 'gpt-3.5-turbo', max_tokens: 4000 }
30973098
else if (api == 'AIchatOS') {
@@ -3112,8 +3113,7 @@
31123113
prompt: lastUserMsg.content, secret: session.generateGPTFLkey(),
31133114
systemMessage: 'You are ChatGPT, the version is GPT-4o, a large language model trained by OpenAI. '
31143115
+ 'Follow the user\'s instructions carefully. '
3115-
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `
3116-
+ `${prompts.create({ type: 'humanity' })} `,
3116+
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `,
31173117
temperature: 0.8, top_p: 1
31183118
}
31193119
if (apis.GPTforLove.parentID) payload.options = { parentMessageId: apis.GPTforLove.parentID }

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.21.4
152+
// @version 2025.1.21.5
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
@@ -3386,6 +3386,7 @@
33863386

33873387
async createPayload(api, msgs) {
33883388
let payload = {} ; const time = Date.now(), lastUserMsg = msgs[msgs.length - 1]
3389+
lastUserMsg.content += ` {{${prompts.create({ type: 'humanity' })}}}`
33893390
if (api == 'OpenAI')
33903391
payload = { messages: msgs, model: 'gpt-3.5-turbo', max_tokens: 4000 }
33913392
else if (api == 'AIchatOS') {
@@ -3406,8 +3407,7 @@
34063407
prompt: lastUserMsg.content, secret: session.generateGPTFLkey(),
34073408
systemMessage: 'You are ChatGPT, the version is GPT-4o, a large language model trained by OpenAI. '
34083409
+ 'Follow the user\'s instructions carefully. '
3409-
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `
3410-
+ `${prompts.create({ type: 'humanity' })} `,
3410+
+ `${prompts.create({ type: 'language', mods: 'noChinese' })} `,
34113411
temperature: 0.8, top_p: 1
34123412
}
34133413
if (apis.GPTforLove.parentID) payload.options = { parentMessageId: apis.GPTforLove.parentID }

0 commit comments

Comments
 (0)