File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.9.15.1
151+ // @version 2025.9.16
152152// @license MIT
153153// @icon https://assets.ddgpt.com/images/icons/app/icon48.png?v=533ce0f
154154// @icon 64 https://assets.ddgpt.com/images/icons/app/icon64.png?v=533ce0f
325325 } ) )
326326 window . apis = Object . assign ( Object . create ( null ) , await new Promise ( resolve => xhr ( {
327327 method : 'GET' , onload : ( { responseText } ) => resolve ( Object . fromEntries (
328- Object . entries ( JSON5 . parse ( responseText ) ) . filter ( ( [ , api ] ) => ! api . disabled ) ) ) ,
328+ Object . entries ( JSON5 . parse ( responseText ) ) /* .filter(([, api]) => !api.disabled)*/ ) ) ,
329329 url : `${ app . urls . aiwebAssets } /data/ai-chat-apis.json5`
330330 } ) ) )
331331 apis . AIchatOS . userID = '#/chat/' + Date . now ( )
10751075 } ,
10761076
10771077 replyPrefix ( ) {
1078- const firstP = app . div . querySelector ( 'pre p' )
1079- if ( ! firstP ) return
1078+ const firstP = app . div . querySelector ( 'pre p' ) ; if ( ! firstP ) return
10801079 const prefixNeeded = env . ui . app . scheme == 'dark'
10811080 && ! config . bgAnimationsDisabled && ! / s h u f f l e | s u m m a r i z e / . test ( get . reply . src )
10821081 const prefixExists = firstP . textContent . startsWith ( '>> ' )
You can’t perform that action at this time.
0 commit comments