Skip to content

Commit 5469674

Browse files
committed
Restored APIs deleted for testing ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/duckduckgpt]
1 parent 292c0e8 commit 5469674

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

chatgpt/duckduckgpt/duckduckgpt.user.js

Lines changed: 20 additions & 1 deletion
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.3
151+
// @version 2025.1.15.4
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
@@ -567,6 +567,25 @@
567567

568568
// Init API props
569569
const apis = {
570+
'AIchatOS': {
571+
endpoint: 'https://api.binjie.fun/api/generateStream',
572+
expectedOrigin: {
573+
url: 'https://chat18.aichatos68.com',
574+
headers: {
575+
'Accept': 'application/json, text/plain, */*', 'Priority': 'u=0', 'Sec-Fetch-Site': 'cross-site'
576+
}
577+
},
578+
method: 'POST', streamable: true, accumulatesText: false, failFlags: ['很抱歉地', '系统公告'],
579+
userID: '#/chat/' + Date.now()
580+
},
581+
'FREEGPT': {
582+
endpoint: 'https://am.aifree.site/api/generate',
583+
expectedOrigin: {
584+
url: 'https://am.aifree.site',
585+
headers: { 'Alt-Used': 'am.aifree.site', 'Content-Type': 'text/plain;charset=UTF-8', 'Priority': 'u=4' }
586+
},
587+
method: 'POST', streamable: true
588+
},
570589
'GPTforLove': {
571590
endpoint: 'https://api11.gptforlove.com/chat-process',
572591
expectedOrigin: {

0 commit comments

Comments
 (0)