Skip to content

fix(cli): honor resume_display full mode without truncation#10708

Closed
JorkeyLiu wants to merge 1 commit into
NousResearch:mainfrom
JorkeyLiu:fix/resume-full-history-display
Closed

fix(cli): honor resume_display full mode without truncation#10708
JorkeyLiu wants to merge 1 commit into
NousResearch:mainfrom
JorkeyLiu:fix/resume-full-history-display

Conversation

@JorkeyLiu

Copy link
Copy Markdown

What: Fix the resume_display: full config setting which was still truncating messages despite the name.

Why: The 'full' mode applied hard-coded truncation limits:

  • User messages: 300 chars max
  • Assistant messages: 200 chars / 3 lines max
  • Only last 10 exchanges shown
    This was misleading — users who set full expected complete history.

Additionally, the /resume mid-conversation command only printed a one-liner summary without showing the previous conversation recap panel.

How:

  • full mode now shows all messages without content truncation or exchange limits
  • Added compact mode preserving the old truncated behavior for users who prefer it
  • /resume command now calls _display_resumed_history() to show the recap panel (consistent with startup resume behavior)
  • Updated tests: truncation tests explicitly use compact, added new tests for full mode

How to test:

  1. Resume a session with long history — should see complete messages
  2. Set resume_display: compact in config.yaml — should see truncated recap
  3. Use /resume mid-conversation — should show recap panel

Platforms tested: macOS (CLI), 32/32 resume display tests passing

The 'full' resume_display setting was misleading — it still truncated
user messages to 300 chars, assistant messages to 200 chars / 3 lines,
and limited display to the last 10 exchanges.

Changes:
- 'full' mode now shows complete conversation history without truncation
- Added 'compact' mode preserving the old truncated behavior
- /resume mid-conversation now calls _display_resumed_history() to show
  the recap panel (previously only printed a one-liner)
- Updated tests: truncation tests use 'compact', added new 'full' mode
  tests verifying no truncation occurs
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard labels Apr 25, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Closing as superseded by PR #31695 (merged), which bundles this fix and several sibling PRs in the /resume recap cluster.

PR #31695 wires _display_resumed_history() into in-session /resume (the missing 1-line bug fix) AND exposes the recap truncation limits + tool-call-only skip as configurable display.* keys. Eight contributors independently filed PRs against this same UX gap — thanks for being one of them.

Authorship for the cherry-picked commits is preserved in git log via rebase-merge. If your PR included specific behavior that PR #31695 missed, please reopen with a follow-up scoped to that delta.

(Bulk-closed during a CLI PR triage sweep.)

@teknium1 teknium1 closed this May 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants