From 6fd475e224fe64587024495b67a479bf90c3ad09 Mon Sep 17 00:00:00 2001 From: kudo-sync-bot Date: Wed, 15 Jan 2025 15:28:39 -0800 Subject: [PATCH] =?UTF-8?q?Fixed=20`apis['ToYaml.com']`=20mis-structured?= =?UTF-8?q?=20=E2=86=9E=20[auto-sync=20from=20https://github.com/adamlui/a?= =?UTF-8?q?i-web-extensions/tree/main/googlegpt]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- greasemonkey/googlegpt.user.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/greasemonkey/googlegpt.user.js b/greasemonkey/googlegpt.user.js index 94a94161..38f6872e 100644 --- a/greasemonkey/googlegpt.user.js +++ b/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' + ] } }