From b6b256b28d365d0cb910b7f1a90d7d1bebbf64a9 Mon Sep 17 00:00:00 2001 From: "adamlui@protonmail.com" Date: Wed, 15 Jan 2025 15:28:01 -0800 Subject: [PATCH] Fixed `apis['ToYaml.com']` mis-structured --- amazongpt/greasemonkey/amazongpt.user.js | 11 ++++++----- bravegpt/greasemonkey/bravegpt.user.js | 11 ++++++----- duckduckgpt/greasemonkey/duckduckgpt.user.js | 11 ++++++----- googlegpt/greasemonkey/googlegpt.user.js | 12 +++++++----- 4 files changed, 25 insertions(+), 20 deletions(-) diff --git a/amazongpt/greasemonkey/amazongpt.user.js b/amazongpt/greasemonkey/amazongpt.user.js index 5b1767aad..1d2979b75 100644 --- a/amazongpt/greasemonkey/amazongpt.user.js +++ b/amazongpt/greasemonkey/amazongpt.user.js @@ -3,7 +3,7 @@ // @description Adds the magic of AI to Amazon shopping // @author KudoAI // @namespace https://kudoai.com -// @version 2025.1.15.9 +// @version 2025.1.15.10 // @license MIT // @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7 // @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7 @@ -432,11 +432,12 @@ method: 'POST', streamable: true }, 'ToYaml.com': { - endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html', + endpoint: 'https://toyaml.com/streams', + expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }}, + method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】', failFlags: [ - '请等待网友当前提问回答完毕再试'], // 'Please wait until the current question is answered before trying again' - headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true, - watermark: '【本答案来自 toyaml.com】' + '请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again' + ] } } diff --git a/bravegpt/greasemonkey/bravegpt.user.js b/bravegpt/greasemonkey/bravegpt.user.js index 4a0dea0ce..d9ab1e91a 100644 --- a/bravegpt/greasemonkey/bravegpt.user.js +++ b/bravegpt/greasemonkey/bravegpt.user.js @@ -148,7 +148,7 @@ // @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2025.1.15.10 +// @version 2025.1.15.11 // @license MIT // @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0 // @icon64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0 @@ -606,11 +606,12 @@ method: 'POST', streamable: true }, 'ToYaml.com': { - endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html', + endpoint: 'https://toyaml.com/streams', + expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }}, + method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】', failFlags: [ - '请等待网友当前提问回答完毕再试'], // 'Please wait until the current question is answered before trying again' - headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true, - watermark: '【本答案来自 toyaml.com】' + '请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again' + ] } } diff --git a/duckduckgpt/greasemonkey/duckduckgpt.user.js b/duckduckgpt/greasemonkey/duckduckgpt.user.js index fd70ba358..ebc0611a3 100644 --- a/duckduckgpt/greasemonkey/duckduckgpt.user.js +++ b/duckduckgpt/greasemonkey/duckduckgpt.user.js @@ -148,7 +148,7 @@ // @description:zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!) // @author KudoAI // @namespace https://kudoai.com -// @version 2025.1.15.12 +// @version 2025.1.15.13 // @license MIT // @icon https://assets.ddgpt.com/images/icons/duckduckgpt/icon48.png?v=06af076 // @icon64 https://assets.ddgpt.com/images/icons/duckduckgpt/icon64.png?v=06af076 @@ -614,11 +614,12 @@ method: 'POST', streamable: true }, 'ToYaml.com': { - endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html', + endpoint: 'https://toyaml.com/streams', + expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }}, + method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】', failFlags: [ - '请等待网友当前提问回答完毕再试'], // 'Please wait until the current question is answered before trying again' - headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true, - watermark: '【本答案来自 toyaml.com】' + '请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again' + ] } } diff --git a/googlegpt/greasemonkey/googlegpt.user.js b/googlegpt/greasemonkey/googlegpt.user.js index 94a94161a..38f6872e2 100644 --- a/googlegpt/greasemonkey/googlegpt.user.js +++ b/googlegpt/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.9 +// @version 2025.1.15.10 // @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 @@ -796,10 +796,12 @@ method: 'POST', streamable: true }, 'ToYaml.com': { - endpoint: 'https://toyaml.com/streams', expectedOrigin: { url: 'https://toyaml.com/chat.html', - failFlags: ['请等待网友当前提问回答完毕再试'], // Please wait until the current question is answered before trying again - headers: { 'x-requested-with': 'XMLHttpRequest' }}, method: 'GET', streamable: true, - watermark: '【本答案来自 toyaml.com】' + endpoint: 'https://toyaml.com/streams', + expectedOrigin: { url: 'https://toyaml.com/chat.html', headers: { 'x-requested-with': 'XMLHttpRequest' }}, + method: 'GET', streamable: true, watermark: '【本答案来自 toyaml.com】', + failFlags: [ + '请等待网友当前提问回答完毕再试' // 'Please wait until the current question is answered before trying again' + ] } }