1.4.2
The new stop command is causing some weird object artifacts across the plugin. Restored old error workflow while trying to also keep stop feature in.
source.addEventListener("abort", (e: any) => {
console.log("[ChatGPT MD] SSE Closed Event");
// if e was triggered by stopStreaming, then resolve
if (this.manualClose) {
resolve(txt);
}
// else passthrough as normal
});