Skip to content

Commit

Permalink
Reduced indirection in obj key refs for improved clarity ↞ [auto-sync…
Browse files Browse the repository at this point in the history
… from `adamlui/chatgpt-apps/amazongpt`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Sep 25, 2024
1 parent 411c9ca commit 10e2668
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chatgpt/amazongpt/amazongpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Adds the magic of AI to Amazon shopping
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.9.24.3
// @version 2024.9.24.4
// @license MIT
// @icon https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon48.png?v=0fddfc7
// @icon64 https://amazongpt.kudoai.com/assets/images/icons/amazongpt/black-gold-teal/icon64.png?v=0fddfc7
Expand Down Expand Up @@ -2415,7 +2415,7 @@
withoutContext: false, userId: apis.AIchatOS.userID, network: true
}
} else if (api == 'Free Chat') {
const availModels = apis[api].availModels
const availModels = apis['Free Chat'].availModels
payload = { messages: msgs, model: availModels[Math.floor(chatgpt.randomFloat() * availModels.length)] }
} else if (api == 'GPTforLove') {
payload = {
Expand Down

0 comments on commit 10e2668

Please sign in to comment.