ShipBit / slickgpt

SlickGPT is a light-weight "use-your-own-API-key" web client for the OpenAI API written in Svelte. It offers GPT-4 integration, a userless share feature and other superpowers.
https://slickgpt.vercel.app
MIT License
464 stars 97 forks source link

Premature AI reply display under old branch upon branching #83

Open xmoiduts opened 9 months ago

xmoiduts commented 9 months ago

Editing an existing message (①) should create a new branch first, and then the reply can be generated under the new branch like (②).

In the current version, editing a message and request completion will result in the reply being generated under the current branch rather than the new one, perceived as the chat not being branched properly (③), then the reply is moved to the new branch after generation.

image

image