Build with AI

Chat history and context

Find, rename and reopen past conversations, use the full-screen chat, read the context meter and compact a long conversation by hand.

Every conversation of a project stays in its History, ready to reopen. While you chat, the context meter shows how much room the conversation has left, and Lyna compacts it when it gets full.

What you can do

  • Reopen any past conversation, from the chat, the command palette or your phone.
  • Search your conversations by title and rename them in place.
  • Use the whole History from the keyboard.
  • Open the chat full screen, with the History as a sidebar you can hide.
  • See what fills the context, and compact a conversation by hand.
  • Scroll back through a long conversation: a summary never removes a message from your screen.
  • See which conversations have a reply running.

The History

Open the History with the Chat History button at the top of the chat panel. It covers the conversation until you close it.

Conversations are grouped by their last message: Today, Yesterday, Previous 7 days, Previous 30 days, then by month. Each row shows its title and the time of its last message. A conversation with no message yet is not listed.

Select a row to open that conversation. The open conversation is marked in the list. A conversation whose reply is still running shows a working sign before its time: its reply goes on while you read another conversation.

Search and rename

Type in the search box to find a conversation by its title. To start over, clear the search.

To rename a conversation, open the actions menu of its row (or right-click the row) and choose Rename. Type the new title and press Enter. Renaming does not move the conversation in the list: only a new message does.

The same menu deletes a conversation, after you confirm. A conversation cannot be deleted while its reply is still coming. To delete every conversation of the project, open More actions at the top of the History, choose Delete all conversations and type the word it asks for.

Keyboard

KeyWhat it does
↑ ↓Move between conversations.
Home EndGo to the first or the last conversation.
EnterOpen the selected conversation.
F2Rename the selected conversation.
DeleteDelete the selected conversation, after you confirm.
Any letterGo back to the search box and type.
EscClear the search, then close the History.

History in the command palette

Open the command palette with Cmd/Ctrl + K and choose Chat history. The chat opens on the History, even if the chat panel was closed.

On a phone

Open the projects drawer. Its Conversations section lists your latest conversations. All conversations, at the end of the list, opens the full History, with the same search and actions.

The full-screen chat

Choose Enter fullscreen at the top of the chat panel, or press Cmd/Ctrl + Shift + \, to give the chat the whole window. The command palette has it too.

In full screen, the History becomes a sidebar on the left, next to the conversation. The History button turns into History sidebar: use it to hide the sidebar or show it again.

To leave full screen, choose Exit fullscreen, press the same shortcut, or press Esc.

The context meter

The context meter sits right above the message box. It shows how much of the model's context window the next message will use, for example 119k / 200k. Before the first reply, it shows only the size of the window.

The bar has two parts:

  • Sent with every message: Lyna's instructions and the description of what it can do. A summary cannot shrink this part.
  • Conversation: your messages, the replies and the results of each step.

When the conversation gets close to full, the label says what happens next:

LabelWhat it means
Compacts soonThe conversation is getting close to the point where Lyna compacts it.
Compacts next messageYour next message compacts the conversation first.
Context fullThe window is almost full. Your next message compacts the conversation first.
Retries next messageThe last compaction did not finish. It tries again with your next message.
Compaction failedCompaction did not work for this conversation. Start a new chat to keep going.

Hover over the meter to read the full sentence.

See what fills the context

Select the meter, or type /context, to open the context details full screen. They show:

  • the total, the state and a bar with the point where Lyna compacts;
  • Where the context goes: instructions, tool definitions, your messages, replies, tool calls and results, and the free room, adding up to the total;
  • Compact conversation, with how much room a summary can free;
  • the last response, with its cost, and facts about the conversation.

Long conversations

A long conversation stays whole on your screen, whatever Lyna AI reads:

  • Older messages load as you scroll. The chat opens on the latest part of the conversation. Scroll up and Loading older messages... brings the earlier part, a page at a time.
  • A summary hides nothing. Lyna summarizes only between two turns, never in the middle of Lyna AI's work. The messages a summary covers stay in the chat above the line Above this line, Lyna works from a summary: scroll up to read and copy them. They are read-only. An earlier line reads An earlier summary of the messages above: undo the later summary first.
  • The meter follows the work. While a turn runs, the context meter moves after each step, so you see the conversation fill as Lyna AI works.
  • When nothing fits any more, the chat shows Conversation Too Long with Start New Chat and, when the conversation holds a summary, Undo Last Compaction.

Compact by hand

When a conversation gets full, Lyna compacts it on its own: from then on it works from a summary of the older part, and from your latest messages as they are. Nothing leaves your screen: every message stays in the conversation, and a line marks where Lyna's summary starts. You can also compact yourself at any time:

  1. Type /compact

    In the message box, type /compact and press Enter. You can also choose Compact conversation in the context details.

  2. Read the result

    A line Above this line, Lyna works from a summary shows how much room was saved. The messages above it stay there to read and copy. Choose Show summary to read what Lyna kept. Undo summary gives Lyna the full messages again; with several summaries, undo the newest first.

If the conversation is too short, or a summary would not free any room, Lyna says so in one line and leaves the conversation unchanged.

With a connected provider

When you use your own Claude, ChatGPT or Kimi Code account, or your own key:

  • The size of the window follows the model you pick, so the meter's total changes with it.
  • The cost of the last response reads Included in your plan for a sign-in, or Billed to your key for a key, instead of a number of credits.

See Models and providers.

Need help?

Ask the team, read what changed, or learn from the blog.