Open ralebaskinson opened 2 months ago
Are you using firefox-without-katex-and-tiktoken.zip? In fact, buffer package has been added to ChatGPTBox, so the Buffer.from call is normal.
Ah yes sorry I forgot to mention I built it myself and am using firefox-without-katex-and-tiktoken.zip, thanks for catching it
With firefox.zip, it would work
Describe the bug 问题描述 Getting the error "Buffer is not defined" when trying to use ChatGPT Web. Looks related to https://github.com/josStorer/chatGPTBox/commit/77a14e23ef47dbbcf3419350db10ceefa8322eaf,
Buffer
is available in nodejs but not in the browser.Please complete the following information): 请补全以下内容