File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 148
148
// @description :zu Yengeza izimpendulo ze-AI ku-DuckDuckGo (inikwa amandla yi-GPT-4o!)
149
149
// @author KudoAI
150
150
// @namespace https://kudoai.com
151
- // @version 2025.1.14.6
151
+ // @version 2025.1.14.7
152
152
// @license MIT
153
153
// @icon https://assets.ddgpt.com/images/icons/duckduckgpt/icon48.png?v=06af076
154
154
// @icon 64 https://assets.ddgpt.com/images/icons/duckduckgpt/icon64.png?v=06af076
3053
3053
'Host' : new URL ( apis [ api ] . endpoints ?. completions || apis [ api ] . endpoint ) . hostname ,
3054
3054
'Sec-Fetch-Site' : 'same-origin' , 'Sec-Fetch-Dest' : 'empty' , 'Sec-Fetch-Mode' : 'cors'
3055
3055
} )
3056
- else if ( apis [ api ] . method == 'GET' ) headers [ 'x-requested-with' ] = 'XMLHttpRequest'
3057
3056
Object . assign ( headers , apis [ api ] . expectedOrigin . headers ) // API-specific ones
3058
3057
if ( api == 'OpenAI' ) headers . Authorization = `Bearer ${ config . openAIkey } `
3059
3058
return headers
You can’t perform that action at this time.
0 commit comments