Krazal / nppopenai

OpenAI (aka. ChatGPT) plugin for Notepad++
GNU General Public License v2.0
58 stars 15 forks source link

json.exception #9

Closed sorentobot closed 2 months ago

sorentobot commented 1 year ago

image

NESblast commented 1 year ago

I'm also getting this. Alot. x64 version

Krazal commented 1 year ago

Sorry for the inconvenience and the late response! I've updated the OpenAI response (and memory) handling and re-arranged the code. The update will be available in the latest v0.2 update.

EmpathicSage commented 1 year ago

I just forked, downloaded, compiled, and replaced NppOpenAI.dll in the folder C:\Program Files\Notepad++\plugins\NppOpenAI and it seems to have fixed the issue. No other code changes were made. This leads me to believe that the problem is a stale binary on the index of plugins. I hope that helps!

Krazal commented 1 year ago

Oh, it seems my latest Pull Request was failed. >< I've created a new one in notepad-plus-plus/nppPluginList repository, but until then the latest release of the plugin is available here: https://github.com/Krazal/nppopenai/releases/tag/v0.2.1

Other info: NppOpenAI chat support is under development.

richgel999 commented 1 year ago

The latest version works for me, but I had to unzip it as admin under Windows. Are you going to update the plugin so it can be easily installed from within Notepad++?