Skip to content

Commit e57dc68

Browse files
committed
Bumped app.commitHashes.aiweb, extended timeout +5s for slow AIchatOS (closes adamlui/ai-web-extensions#520) ↞ [auto-sync from https://github.com/adamlui/ai-web-extensions/tree/main/amazongpt]
1 parent 8a901cc commit e57dc68

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

chatgpt/amazongpt/amazongpt.user.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// @description Add AI chat & product/category summaries to Amazon shopping, powered by the latest LLMs!
44
// @author KudoAI
55
// @namespace https://kudoai.com
6-
// @version 2026.7.27.7
6+
// @version 2026.7.27.8
77
// @license MIT
88
// @icon https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@8e8ed1c/assets/images/icons/app/black-gold-teal/icon48.png
99
// @icon64 https://cdn.jsdelivr.net/gh/KudoAI/amazongpt@8e8ed1c/assets/images/icons/app/black-gold-teal/icon64.png
@@ -142,7 +142,7 @@
142142
version: GM_info.script.version, chatgptjsVer: /chatgpt\.js@([\d.]+)/.exec(GM_info.scriptMetaStr)[1],
143143
commitHashes: {
144144
app: 'be17b5f', // for cached <app|messages>.json
145-
aiweb: 'bf3d40d' // for cached ai-chat-apis.json5 + <code-languages|katex-delimiters|sogou-tts-lang-codes>.json
145+
aiweb: '9b38088' // for cached ai-chat-apis.json5 + <code-languages|katex-delimiters|sogou-tts-lang-codes>.json
146146
},
147147
config: { anchored: true }
148148
}
@@ -821,7 +821,10 @@
821821
&& get.reply.api == iniAPI // not already trying diff API from err
822822
&& get.reply.triedAPIs.length != Object.keys(app.apis).length -1 // untried APIs remain
823823
) api.tryNew({ caller: get.reply, reason: 'timeout' })
824-
}, ( app.config.streamingDisabled ? 10 : 7 *( app.config.preferredAPI ? 2 : 1 )) *1000)
824+
}, (
825+
( app.config.streamingDisabled ? 10 : 7 *( app.config.preferredAPI ? 2 : 1 ))
826+
+( iniAPI == 'AIchatOS' ? 5 : 0 ) // extend +5s for slow AIchatOS
827+
)*1000)
825828
}
826829

827830
// Augment query

0 commit comments

Comments
 (0)