This commit is contained in:
恍兮惚兮 2024-11-28 14:14:24 +08:00
parent d77c38e019
commit 0cadede359
3 changed files with 0 additions and 35 deletions

View File

@ -1,10 +0,0 @@
from translator.dev_llm_common import commonllmdev
class TS(commonllmdev):
target_url = "https://duckduckgo.com/?t=h_&q=hi&ia=chat"
jsfile = "commonhookfetchstream.js"
function1 = 'url.includes("duckchat/v1/chat")'
function2 = r"""thistext += (chunk.message?chunk.message:"")"""
textarea_selector = 'textarea[name="user-prompt"]'
button_selector = 'button[type="submit"]'

View File

@ -1644,13 +1644,6 @@
"name": "chatgpt",
"is_gpt_like": true
},
"dev_duckduckgo": {
"use": false,
"color": "blue",
"type": "dev",
"name": "DuckDuckGo",
"is_gpt_like": true
},
"dev_chatgpt_mirror": {
"use": false,
"color": "blue",

View File

@ -909,24 +909,6 @@
}
}
},
"dev_duckduckgo": {
"args": {
"usingstream": true,
"use_custom_prompt": false,
"custom_prompt": ""
},
"argstype": {
"usingstream": {
"name": "流式输出",
"type": "switch"
},
"custom_prompt": {
"name": "自定义_promt",
"type": "multiline",
"refswitch": "use_custom_prompt"
}
}
},
"dev_chatgpt_mirror": {
"args": {
"target_url": "https://chatgpt.com/",