Control the chat
Clear or compact the chat, and undo, redo or keep what a model changed.
How to use them
/clearempties the chat;/compact [focus]summarizes the earlier turns so a long chat never overflows (every message stays visible)./undoand/redostep through the changes a model made;/keepaccepts them. When your LLM crashes or your credits run out you can keep what was done and continue./checkpointslists the points you can go back to.

Commands
| Command | Usage | What it does |
|---|---|---|
/clear |
/clear |
Erase the messages of the current chat (asks YES / NO first) |
/compact |
/compact [focus] |
Summarize the earlier part of this chat so the model keeps it in mind with fewer tokens (messages stay visible); optional focus, e.g. /compact keep the API decisions |
/undo |
/undo |
Put back the files iNoU changed in this chat's last checkpoint (a file changed since is left as it is) |
/redo |
/redo |
Apply again the checkpoint /undo put back |
/keep |
/keep |
Keep this chat's pending changes (no file changes) |
/checkpoints |
/checkpoints |
List this chat's checkpoints: each run that changed files, its status and its files |