Skip to content

Commit

Permalink
Corrected symbol in pickAPI() ↞ [auto-sync from `adamlui/chatgpt-ap…
Browse files Browse the repository at this point in the history
…ps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed May 31, 2024
1 parent 6376ac6 commit 7385318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions greasemonkey/duckduckgpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
// @description:zu Faka amaphawu ase-ChatGPT kuvaliwe i-DuckDuckGo Search (okwesikhashana ngu-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.5.31.10
// @version 2024.5.31.11
// @license MIT
// @icon https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png?af89302
// @icon64 https://media.ddgpt.com/images/icons/duckduckgpt/icon64.png?af89302
Expand Down Expand Up @@ -719,7 +719,7 @@
const entry = untriedEndpoints[Math.floor(chatgpt.randomFloat() * untriedEndpoints.length)]
if (!entry) // no more proxy endpoints left untried
appAlert('suggestOpenAI')
else { endpoint = entry[0], endpointMethod = entry[1].method }
else { endpoint = entry[0] ; endpointMethod = entry[1].method }
} else { // use OpenAI API
endpoint = openAIendpoints.chat
accessKey = await Promise.race([getOpenAItoken(), new Promise(reject =>
Expand Down

0 comments on commit 7385318

Please sign in to comment.