bramses / chatgpt-md

A (nearly) seamless integration of ChatGPT into Obsidian.
MIT License
824 stars 61 forks source link

Unexpected non-whitespace character after JSON at position 270 #102

Open codenut opened 2 months ago

codenut commented 2 months ago

Hello, The plugin has stopped working and not displaying ChatGpt's response. Here is the error I get from the console.

Uncaught SyntaxError: Unexpected non-whitespace character after JSON at position 270
    at JSON.parse (<anonymous>)
    at eval (plugin:chatgpt-md:366:36)
    at eval (plugin:chatgpt-md:98:13)
    at Array.every (<anonymous>)
    at SSE2.dispatchEvent (plugin:chatgpt-md:97:41)
    at SSE2.eval (plugin:chatgpt-md:136:18)
    at Array.forEach (<anonymous>)
    at SSE2._onStreamProgress (plugin:chatgpt-md:134:40)
gl1tchw4lk3r commented 2 months ago

I'm experiencing the same error