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-Brave Search
149149// @author KudoAI
150150// @namespace https://kudoai.com
151- // @version 2026.7.27.8
151+ // @version 2026.7.27.9
152152// @license MIT
153153// @icon https://cdn.jsdelivr.net/gh/KudoAI/bravegpt@2f21b5f/assets/images/icons/app/icon48.png
154154// @icon 64 https://cdn.jsdelivr.net/gh/KudoAI/bravegpt@2f21b5f/assets/images/icons/app/icon64.png
265265 version : GM_info . script . version , chatgptjsVer : / c h a t g p t \. j s @ ( [ \d . ] + ) / . exec ( GM_info . scriptMetaStr ) [ 1 ] ,
266266 commitHashes : {
267267 app : 'd8ae1f8' , // for cached <app|messages>.json
268- aiweb : 'bf3d40d ' // for cached ai-chat-apis.json5 + <code-languages|katex-delimiters|sogou-tts-lang-codes>.json
268+ aiweb : '9b38088 ' // for cached ai-chat-apis.json5 + <code-languages|katex-delimiters|sogou-tts-lang-codes>.json
269269 }
270270 }
271271 app . urls = { resourceHost : `https://cdn.jsdelivr.net/gh/KudoAI/bravegpt@${ app . commitHashes . app } ` }
13161316 && get . reply . api == iniAPI // not already trying diff API from err
13171317 && get . reply . triedAPIs . length != Object . keys ( app . apis ) . length - 1 // untried APIs remain
13181318 ) api . tryNew ( { caller : get . reply , reason : 'timeout' } )
1319- } , ( app . config . streamingDisabled ? 10 : 7 * ( app . config . preferredAPI ? 2 : 1 ) ) * 1000 )
1319+ } , (
1320+ ( app . config . streamingDisabled ? 10 : 7 * ( app . config . preferredAPI ? 2 : 1 ) )
1321+ + ( iniAPI == 'AIchatOS' ? 5 : 0 ) // extend +5s for slow AIchatOS
1322+ ) * 1000 )
13201323 }
13211324
13221325 // Augment query
You can’t perform that action at this time.
0 commit comments