Skip to content

Commit

Permalink
Restored footerContent as show.reply() arg in data process method…
Browse files Browse the repository at this point in the history
  • Loading branch information
kudo-sync-bot committed Jan 19, 2025
1 parent 52ecb7c commit ce1a764
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chatgpt/bravegpt/bravegpt.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
// @description:zu Yengeza izimpendulo ze-AI ku-Brave Search (inikwa amandla yi-GPT-4o!)
// @author KudoAI
// @namespace https://kudoai.com
// @version 2025.1.18.7
// @version 2025.1.18.8
// @license MIT
// @icon https://assets.bravegpt.com/images/icons/bravegpt/icon48.png?v=df624b0
// @icon64 https://assets.bravegpt.com/images/icons/bravegpt/icon64.png?v=df624b0
Expand Down Expand Up @@ -3419,7 +3419,7 @@
if (!caller.sender) caller.sender = callerAPI // app is waiting, become sender
if (caller.sender == callerAPI // app is sending from this api
&& textToShow.trim() != '' // empty chunk not read
) show.reply(textToShow)
) show.reply(textToShow, footerContent)
}
} catch (err) { log.error('Error showing stream', err.message) }
return reader.read().then(({ done, value }) => {
Expand Down Expand Up @@ -3506,7 +3506,7 @@
} else {
caller.status = 'done' ; api.clearTimedOut(caller.triedAPIs) ; caller.attemptCnt = null
respText = respText.replace(apis[callerAPI].watermark, '').trim()
if (caller == get.reply) { show.reply(respText) ; show.replyCornerBtns() }
if (caller == get.reply) { show.reply(respText, footerContent) ; show.replyCornerBtns() }
else resolve(arrayify(respText))
}
}
Expand Down

0 comments on commit ce1a764

Please sign in to comment.