mirror of
https://github.com/NCBM/plyngent.git
synced 2026-11-07 07:17:54 +08:00
docs: document the turn-oriented /history
/history now works in turns (default: the last turn's user message and final answer), with -v/-vv for intermediate rows and full bodies, and display-number addressing (N / last [N] / --message N) that never exposes database rows.
This commit is contained in:
@@ -256,8 +256,8 @@ Type `/help` in the REPL for the live list. Common ones:
|
||||
| Command | Purpose |
|
||||
|---------|---------|
|
||||
| `/status` | Provider, session, context/usage estimates |
|
||||
| `/history [n\|last]` | Recent messages (default preview; `last`/`1` = full + markdown) |
|
||||
| `/history --full` | Full bodies for the selected window |
|
||||
| `/history [N \| last [N]]` | Conversation grouped by turn: default = the last turn (your message + the model's answer); `N` = turn N, `last N` = the last N turns |
|
||||
| `/history -v` / `-vv` | `-v` prints every row of the selected turn(s) (tool calls/results, notices); `-vv` prints full bodies (and the local system row). `--message N` prints one message in full, `--preview` one-lines every row. Numbers are display ordinals shown by `/history`, never database rows (they restart after `/clear`) |
|
||||
| `/sessions` | Sessions for this workspace |
|
||||
| `/new` `/resume` `/rename` `/delete` | Session lifecycle (`/delete` confirms) |
|
||||
| `/export [md\|json] [path]` | Transcript from DB (no secrets) |
|
||||
|
||||
Reference in New Issue
Block a user