File tree Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Expand file tree Collapse file tree 4 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 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// @icon 64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
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' ) {
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 }
Original file line number Diff line number Diff line change 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// @icon 64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0
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' ) {
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 }
Original file line number Diff line number Diff line change 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// @icon 64 https://assets.ddgpt.com/images/icons/duckduckgpt/icon64.png?v=06af076
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' ) {
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 }
Original file line number Diff line number Diff line change 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// @icon 64 https://assets.googlegpt.io/images/icons/googlegpt/black/icon64.png?v=59409b2
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' ) {
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 }
You can’t perform that action at this time.
0 commit comments