Skip to content
This repository was archived by the owner on May 24, 2026. It is now read-only.
This repository was archived by the owner on May 24, 2026. It is now read-only.

feat: Adopt HistoryApi.TruncateAsync for user-initiated history reset #645

Description

@PureWeen

Context

SDK v0.2.2 added HistoryApi.TruncateAsync(sessionId, cancellationToken) to truncate session history. Also HistoryApi.CompactAsync() replaced the removed CompactionApi.

Opportunity

Could enable a "Clear history" or "Reset conversation" feature in the session context menu. Currently the only way to reset history is to create a new session.

Current State

  • Auto-compaction is adopted via InfiniteSessions { Enabled = true }
  • Manual compaction (CompactAsync) is not used
  • No truncation capability exists in the UI

Priority

Low — nice-to-have UX improvement, no pressing user need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions