SC26Join us at Booth 5405 · Nov 16–19
Parallel Works

Branching Conversations

Chat uses a tree-based message structure rather than a simple linear history. This means you can create branches at any point in a conversation to explore alternative responses, compare different approaches, or refine your prompts without losing previous work.

How Branching Works

Every message in a conversation has a parent message (except the first message, which is the root). When you edit a previous message or regenerate an AI response, a new branch is created from that point. The original branch is preserved in the conversation.

This tree structure means a single conversation can contain multiple parallel threads of discussion, all sharing the same earlier context.

Creating a Branch

There are two ways to create a new branch:

Editing a Message

  1. Hover over one of your messages to reveal the action buttons.
  2. Click Edit message. To edit your most recent message, you can also press ↑ in the empty message box.
  3. Modify the message content in the editor that appears.
  4. Click Send or press Enter to submit the edited message. Click Cancel or press Esc to discard your changes.

A new branch is created starting from the edited message. The AI generates a fresh response based on your updated input. The original message and its response are kept on the previous branch. The edited message is sent without the original message's attachments.

Regenerating a Response

  1. Find the action buttons below an AI response.
  2. Click Regenerate response.

The model generates a new response to the same prompt, including the same attachments. This creates a sibling branch from the same parent message. You can regenerate multiple times to get different responses and compare them.

When a response has alternatives (multiple responses to the same message), a branch navigator appears with the response's action buttons. The navigator shows the current branch position (for example, "2/3") and provides Previous branch and Next branch arrows to switch between them.

Clicking an arrow loads that response and its entire downstream conversation thread. The branch navigator only appears on responses where the conversation actually diverges.

Active Branch

When you open a conversation, Chat shows the branch that holds its most recent response. When you send a message, the conversation continues from the branch you are viewing, and that branch becomes the one shown the next time you open the conversation.

Use Cases

Branching is useful in several scenarios:

  • Comparing approaches: Ask the same question with different phrasings to see how the model responds differently, without starting a new conversation.
  • Exploring alternatives: Regenerate a response multiple times and keep all versions for comparison.
  • Iterating on prompts: Edit an earlier message to refine your prompt while preserving the original conversation path.
  • A/B testing: Test different instructions within the same conversation context, or switch models and regenerate to compare their answers.