Great idea. I've been thinking of something similar. Beyond branching, it might be useful to be able to manually edit/delete/add to the context window (both user prompts and LLM responses.) This way, when the LLM returns and almost correct response, you can fix the typo or error, and move on with the conversation without polluting the context window with petty requests.