Skip to content

[Bug]: when calling /new or /clear the status bar still shows old values #2099

@InB4DevOps

Description

@InB4DevOps

Bug Description

/new and /clear don't reset the status bar. The token counters of the agent still have the values from the previous session.

Image

Steps to Reproduce

  1. run hermes
  2. type something
  3. type /new or /clear
  4. status bar still shows token usage from previous session

Expected Behavior

Status bar should show 0

Actual Behavior

no error, just displaying wrong values

Affected Component

CLI (interactive chat)

Messaging Platform (if gateway-related)

No response

Operating System

Debian 13.4

Python Version

3.13.5

Hermes Version

0.4.0

Relevant Logs / Traceback

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions