Session Management | LanMate User Guide
Using the Qianxin edition of LanMate?View Qianxin Edition User Guide

Session Management

Fork

Want to try a different direction without losing current progress:

  1. Find the assistant message to fork from
  2. Hover and click “Fork from here”
  3. Choose how to continue: New chat (same directory), or—for Git projects—Continue in a new worktree (changes fully isolated; see Git Worktrees)
  4. Original session is unaffected; switch between both to compare

The fork carries the full context up to that point, including:

Choosing a new worktree carries uncommitted changes (including new files), so work in progress is never lost.

Rewind

Unsatisfied with the direction after a message:

  1. Hover the user message and click “Rewind”
  2. Content after that message is no longer read by the agent
  3. Message text auto-fills the composer for editing and resending

Rewind doesn’t delete history; it just stops the agent from reading beyond that point.

Retry

Hover an assistant reply and click “Retry”: a retry sub-session is created from before the user message, resent verbatim. The original stays intact; multiple retries converge in the same sub-session.

Session Titles

A new session gets its title immediately after your first message: a temporary title lands first so the session is never blank, then the model refines it into something apt. Automatic naming is attempted once per session—failure doesn’t affect usage—and names you set manually are never overwritten.

When renaming (sidebar button, context menu, or /rename), the dialog pre-fills an AI-suggested title based on the recent conversation. Adopt it or edit freely—the suggestion isn’t written until you confirm.

Export

More menu “Export” or /export: exports as Markdown, sectioned by role, with thinking collapsed and tool calls listed.

Compact Context

When approaching the token limit, use /compact or the more menu:

Append custom instructions: /compact focus on technical decisions.

Cmd/Ctrl+F opens the search dialog: title + full-text search with keyword highlighting; click to jump to the session.

Side Chat

Right panel “+” menu → Side Chat:

Perfect for quick side questions while a long task runs.