Docs/Chat

User Guide · 2.4.1 Release

How do I enhance a prompt and restore the original?

Models, styles, preview, replacement and undo

Read Markdown
On this page

Enable and configure#

Turn this on in Settings → General → Prompt enhancement (off by default). You can specify an enhancement model, write custom rewrite instructions, and choose styles such as general, formal document, report, or code — or maintain your own custom styles. Your configuration is saved, and temporary choices can be saved as the new default separately.

Prompt enhancement also has its own independent reasoning effort: set the default under Default settings (initially “Default”); each time you enhance, you can adjust Reasoning effort for this enhancement in the panel for that draft only, and check Save as default when you want to persist it.

Preview before replacing#

Write your draft in the chat input box, then tap the Prompt enhancement button on the same row as the send button. Once generated, you can edit the result and compare it against your original text; confirming replaces the input box content without auto-sending. You can cancel while generating; if you switch conversations or your draft changes in the meantime, run enhancement again to avoid overwriting new text.

When your draft includes images, enhancement takes those images into account — make sure to choose an enhancement model that supports image input (when Reference conversation is enabled, the current chat model is used instead). If an image is not ready, fails to load, or the model does not support image input, a notice appears and enhancement stops. Replacing the prompt updates only the text and keeps your draft images.

You can edit the Original text directly inside the panel and tap Enhance again. With Reference conversation enabled, enhancement draws on prior turns in the current chat to complete your draft without flagging already-provided details as missing; in this mode it uses the current conversation's model and reasoning settings, reuses the conversation's prompt cache, and does not allow picking a separate model. The toggle state is remembered for the next time you open the panel.

After replacing, you can undo using the restore-original action in the panel; if you have edited the text again since replacing, Cube Agent asks before overwriting your later edits. Do not rely on the previous undo state after clearing the input box, switching conversations, or leaving the page.

Enhancement requests send your draft to the selected model and may consume quota. Review the enhanced result to verify it preserves your intent and has no missing placeholders before sending.