User Guides
Forking Messages and Conversations

Forking Messages and Conversations

The “Fork Messages and Conversations” feature can be incredibly useful for various reasons:

  1. Focused discussions: Sometimes, during a conversation with an AI, users may want to explore a specific subtopic or idea without losing the context of the main conversation. By forking a conversation from a specific message, users can create a separate discussion thread that focuses solely on that particular aspect while maintaining the original conversation intact.

  2. Branching scenarios: In some cases, users may want to explore different paths or scenarios based on a specific message. The forking feature allows users to create multiple branches from a single point in the conversation, enabling them to investigate various outcomes or possibilities without affecting the main conversation flow.

  3. Preserving context: When forking a conversation, users can choose to include visible messages, related branches, or all messages up to a specific point. This helps maintain the necessary context for the forked conversation, ensuring that the AI has sufficient information to provide relevant and accurate responses.

  4. Collaboration and sharing: Users may want to share specific parts of a conversation with others without revealing the entire chat history. By forking a conversation from a specific message, users can create a standalone discussion that can be easily shared with colleagues or friends, allowing for collaboration or seeking input on a particular topic.

  5. Organizing thoughts: In lengthy conversations with an AI, users may generate multiple ideas or topics that deserve further exploration. The forking feature allows users to organize their thoughts by creating separate conversation threads for each idea, making it easier to revisit and develop them independently.

  6. Experimenting with different approaches: Users may want to test different approaches or prompts to see how the AI responds. By forking a conversation, users can experiment with various strategies without disrupting the main conversation, comparing the outcomes, and learning from the AI’s responses.

Overall, that feature in Librechat empowers users to have more control over their conversations, explore ideas in depth, and maintain organized and focused discussions with the AI assistant.

Forking Options

Use these settings to fork messages with the desired behavior.

Forking refers to creating a new conversation that starts/ends from specific messages in the current conversation, creating a copy according to the options selected.

The “target message” refers to either the message the popup was opened from, or, if you check “Start fork here”, the latest message in the conversation.

Visible messages only:

This option forks only the visible messages; in other words, the direct path to the target message, without any branches.


Include related branches:

This option forks the visible messages, along with related branches; in other words, the direct path to the target message, including branches along the path.


Include all to/from here (default):

This option forks all messages leading up to the target message, including its neighbors; in other words, all message branches, whether or not they are visible or along the same path, are included.


Additional Options

  • Start fork here: If checked, forking will commence from this message to the latest message in the conversation, according to the behavior selected above.
  • Remember: Check to remember the options you select for future usage, making it quicker to fork conversations as preferred.
  • Alternatively you can control the default behavior in the settings menu: