Skip to content

1.4.2

Compare
Choose a tag to compare
@bramses bramses released this 24 Mar 13:47
· 19 commits to master since this release

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
});