Haruno Knowledge base

Regenerating a reply

Send your last message again to get a new answer. The answer you had is saved in History as its own chat.

  • Mac appNot availableThe Mac app can edit a message and send it again, but it has no Regenerate answer button.
  • Windows appAvailable

If you are not happy with Haruno's latest answer, choose Regenerate answer. Haruno sends your last message again and writes a new answer. The answer you had is kept, so nothing is lost.

How to use it

Rest the pointer on Haruno's latest answer. The first button in the row under it is Regenerate answer. You can also right-click the answer and choose it from the menu.

Regenerate answer is the first button under the latest answer.
Haruno's answer with three small buttons under its text: regenerate, branch and copy.Haruno's answer with three small buttons under its text: regenerate, branch and copy.

Only the latest answer has it, so a later part of the conversation is never cut away by accident.

What happens

  1. Haruno saves the whole chat as a separate chat in History, named after the chat with "(earlier answer)" added. It does not open that chat.
  2. The old answer is removed from this chat, so it does not influence the new one.
  3. Your message is sent again, with the same text and attachments, and Haruno writes a new answer.
Under your message, a line names the saved copy. Choose Open to read it.
A chat after regenerating. Under the person's message a line says the previous answer is saved, with an Open link. Haruno's new answer follows.A chat after regenerating. Under the person's message a line says the previous answer is saved, with an Open link. Haruno's new answer follows.

The status line says: "The previous answer is saved in History as “…”." Under your message, Open opens the saved copy. That line is not kept if you reopen the chat later. The saved copy stays in History.

It uses your allowance, and the answer may differ

Regenerating counts like a new message against your plan. The new answer may be different from the old one. It is not promised to be better.

If the answer used tools

If Haruno used tools to produce the answer, such as sending a message or writing a file, the first click opens a question: Regenerate this answer? It lists the tools by name and says: "Regenerating runs your message again, and the assistant may use them again. Tools set to Confirm will still ask first."

Haruno asks first when the answer used tools.
A dialog titled Regenerate this answer, naming the tools used and offering Regenerate and Cancel.A dialog titled Regenerate this answer, naming the tools used and offering Regenerate and Cancel.

Choose Regenerate to go on, or Cancel to keep things as they are. This matters because some tools have effects outside the chat, such as sending an email. Regenerating does not change any permission. A tool that asks for approval still asks.

When it is greyed out

The button stays visible but disabled, and its tooltip says why:

  • "Wait for the current reply to finish."
  • "Can't regenerate: the message this answer replies to can't be replayed exactly (for example, after the conversation was compacted or the reply was stopped)."
  • "Can't regenerate: a file attached to this message no longer exists."

There is no button at all when your last message was a /command, or when there is no answer to replace.

If something goes wrong

The status line saysWhat happened
"Couldn't regenerate the answer."Nothing changed.
"Couldn't regenerate the answer. The previous one is saved in History."The answer may already be removed, so the saved copy is the only place it is left.
"Stopped. The answer was not changed."You pressed Stop before anything was removed.
"Stopped. The previous answer is saved in History as “…”."You pressed Stop after the answer was removed. The saved copy is kept.

Last updated · PR #2944 · View this version on GitHub

History (1 version)
  1. Internal knowledge base for staff: site, reader keys, assistant, 197 pages and the PR rule (#2944)
    What changed
    @@ -0,0 +1,61 @@
    +---
    +title: Regenerating a reply
    +summary: Send your last message again to get a new answer. The answer you had is saved in History as its own chat.
    +feature: chat-regenerate
    +covers:
    +  - windows-client/docs/chat-regenerate.md
    +  - windows-client/Haruno.Desktop.ViewModels/ChatViewModel.Regenerate.cs
    +  - windows-client/Haruno.Desktop.ViewModels/Chat/ChatRegenerate.cs
    +  - windows-client/haruno-webview/web/src/state/regenerate.ts
    +---
    +
    +If you are not happy with Haruno's latest answer, choose **Regenerate answer**. Haruno sends your last message again and writes a new answer. The answer you had is kept, so nothing is lost.
    +
    +## How to use it
    +
    +Rest the pointer on Haruno's latest answer. The first button in the row under it is **Regenerate answer**. You can also right-click the answer and choose it from the menu.
    +
    +<Shot src="/m/5b15774cda9e-windows-chat-regenerate-light.png" dark="/m/15b027f3fc02-windows-chat-regenerate-dark.png" alt="Haruno's answer with three small buttons under its text: regenerate, branch and copy." caption="Regenerate answer is the first button under the latest answer." />
    +
    +Only the latest answer has it, so a later part of the conversation is never cut away by accident.
    +
    +## What happens
    +
    +1. Haruno saves the whole chat as a separate chat in History, named after the chat with "(earlier answer)" added. It does not open that chat.
    +2. The old answer is removed from this chat, so it does not influence the new one.
    +3. Your message is sent again, with the same text and attachments, and Haruno writes a new answer.
    +
    +<Shot src="/m/dc2a419c59ea-windows-chat-regenerate-saved-light.png" dark="/m/4dde5f05138a-windows-chat-regenerate-saved-dark.png" alt="A chat after regenerating. Under the person's message a line says the previous answer is saved, with an Open link. Haruno's new answer follows." caption="Under your message, a line names the saved copy. Choose Open to read it." />
    +
    +The status line says: "The previous answer is saved in History as “…”." Under your message, **Open** opens the saved copy. That line is not kept if you reopen the chat later. The saved copy stays in History.
    +
    +<Callout variant="info" title="It uses your allowance, and the answer may differ">
    +Regenerating counts like a new message against your plan. The new answer may be different from the old one. It is not promised to be better.
    +</Callout>
    +
    +## If the answer used tools
    +
    +If Haruno used tools to produce the answer, such as sending a message or writing a file, the first click opens a question: **Regenerate this answer?** It lists the tools by name and says: "Regenerating runs your message again, and the assistant may use them again. Tools set to Confirm will still ask first."
    +
    +<Shot src="/m/b803a69b7922-windows-chat-regenerate-confirm-light.png" dark="/m/fa7513169f05-windows-chat-regenerate-confirm-dark.png" alt="A dialog titled Regenerate this answer, naming the tools used and offering Regenerate and Cancel." caption="Haruno asks first when the answer used tools." />
    +
    +Choose **Regenerate** to go on, or **Cancel** to keep things as they are. This matters because some tools have effects outside the chat, such as sending an email. Regenerating does not change any permission. A tool that asks for approval still asks.
    +
    +## When it is greyed out
    +
    +The button stays visible but disabled, and its tooltip says why:
    +
    +- "Wait for the current reply to finish."
    +- "Can't regenerate: the message this answer replies to can't be replayed exactly (for example, after the conversation was compacted or the reply was stopped)."
    +- "Can't regenerate: a file attached to this message no longer exists."
    +
    +There is no button at all when your last message was a `/command`, or when there is no answer to replace.
    +
    +## If something goes wrong
    +
    +| The status line says | What happened |
    +|---|---|
    +| "Couldn't regenerate the answer." | Nothing changed. |
    +| "Couldn't regenerate the answer. The previous one is saved in History." | The answer may already be removed, so the saved copy is the only place it is left. |
    +| "Stopped. The answer was not changed." | You pressed Stop before anything was removed. |
    +| "Stopped. The previous answer is saved in History as “…”." | You pressed Stop after the answer was removed. The saved copy is kept. |