Skip to content

Unintended behavior for --delete-older-than. #633

@ammargit93

Description

@ammargit93

Description

There seems to be a bug in the --delete-older-than flag.
It deletes all conversations regardless of their age.

Image

Steps to Reproduce

  1. Create multiple conversations at different timestamps.
  2. Run:
    go run . --delete-older-than <some time duration>
    

Expected behavior:

in my case, conversations older than 1h should be deleted. aka "Top 5 anime to watch", "This is conversation1".

Actual behavior:

all of them are deleted.

Version

v1.8.1

Environment

Windows11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions