Skip to content

Commit

Permalink
Added pre-toggle log to toggle.proxyMode() ↞ [auto-sync from `adaml…
Browse files Browse the repository at this point in the history
…ui/chatgpt-apps`]
  • Loading branch information
adamlui authored and kudo-sync-bot committed Sep 24, 2024
1 parent 76c22ea commit cb151d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion greasemonkey/googlegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Google Search (inikwa amandla yi-Google Gemma + GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2024.9.24
// @version 2024.9.24.1
// @license MIT
// @icon https://media.googlegpt.io/images/icons/googlegpt/black/icon48.png?8652a6e
// @icon64 https://media.googlegpt.io/images/icons/googlegpt/black/icon64.png?8652a6e
Expand Down Expand Up @@ -3022,6 +3022,7 @@

proxyMode() {
log.caller = 'toggle.proxyMode()'
log.debug(`Toggling Proxy Mode ${ config.proxyAPIenabled ? 'OFF' : 'ON' }...`)
settings.save('proxyAPIenabled', !config.proxyAPIenabled)
notify(( app.msgs.menuLabel_proxyAPImode ) + ' ' + menu.state.words[+config.proxyAPIenabled])
menu.refresh()
Expand Down

0 comments on commit cb151d5

Please sign in to comment.