Skip to content

/clear does not clear context #3138

@yz778

Description

@yz778

Describe the bug

With Goose CLI, using /clear to clear context doesn't appear to reset the context meter.

To Reproduce
Steps to reproduce the behavior:

  1. launch goose cli
  2. do any activity that uses tokens
  3. enter /clear
  4. see the Chat context cleared. response but context meter still remains no matter how many times /clear is run

Expected behavior
The context meter should be reset to 0%

Screenshots

Image

Please provide following information:

  • OS & Arch: Arch x86
  • Interface: CLI
  • Version: v1.0.30
  • Extensions enabled: Developer
  • Provider & Model: any model

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    p2Priority 2 - Medium

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions