Skip to content

Commit b6b256b

Browse files
committed
Fixed apis['ToYaml.com'] mis-structured
1 parent 206843e commit b6b256b

File tree

4 files changed

+25
-20
lines changed

4 files changed

+25
-20
lines changed

amazongpt/greasemonkey/amazongpt.user.js

Lines changed: 6 additions & 5 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.15.9
6+
// @version 2025.1.15.10
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
@@ -432,11 +432,12 @@
432432
method: 'POST', streamable: true
433433
},
434434
'ToYaml.com': {
435-
endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html',
435+
endpoint: 'https://toyaml.com/streams',
436+
expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }},
437+
method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】',
436438
failFlags: [
437-
'请等待网友当前提问回答完毕再试'], // 'Please wait until the current question is answered before trying again'
438-
headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true,
439-
watermark: '【本答案来自 toyaml.com】'
439+
'请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again'
440+
]
440441
}
441442
}
442443

bravegpt/greasemonkey/bravegpt.user.js

Lines changed: 6 additions & 5 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.15.10
151+
// @version 2025.1.15.11
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
@@ -606,11 +606,12 @@
606606
method: 'POST', streamable: true
607607
},
608608
'ToYaml.com': {
609-
endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html',
609+
endpoint: 'https://toyaml.com/streams',
610+
expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }},
611+
method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】',
610612
failFlags: [
611-
'请等待网友当前提问回答完毕再试'], // 'Please wait until the current question is answered before trying again'
612-
headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true,
613-
watermark: '【本答案来自 toyaml.com】'
613+
'请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again'
614+
]
614615
}
615616
}
616617

duckduckgpt/greasemonkey/duckduckgpt.user.js

Lines changed: 6 additions & 5 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.15.12
151+
// @version 2025.1.15.13
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
@@ -614,11 +614,12 @@
614614
method: 'POST', streamable: true
615615
},
616616
'ToYaml.com': {
617-
endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html',
617+
endpoint: 'https://toyaml.com/streams',
618+
expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }},
619+
method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】',
618620
failFlags: [
619-
'请等待网友当前提问回答完毕再试'], // 'Please wait until the current question is answered before trying again'
620-
headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true,
621-
watermark: '【本答案来自 toyaml.com】'
621+
'请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again'
622+
]
622623
}
623624
}
624625

googlegpt/greasemonkey/googlegpt.user.js

Lines changed: 7 additions & 5 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.15.9
152+
// @version 2025.1.15.10
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
@@ -796,10 +796,12 @@
796796
method: 'POST', streamable: true
797797
},
798798
'ToYaml.com': {
799-
endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html',
800-
failFlags: ['请等待网友当前提问回答完毕再试'], // Please wait until the current question is answered before trying again
801-
headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true,
802-
watermark: '【本答案来自 toyaml.com】'
799+
endpoint: 'https://toyaml.com/streams',
800+
expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }},
801+
method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】',
802+
failFlags: [
803+
'请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again'
804+
]
803805
}
804806
}
805807

0 commit comments

Comments
 (0)