Skip to content

[FEAT]: Synchronize workspace chat LastUpdatedAt field when Chat is updated #6282

Description

@ni-tami

What would you like to see?

Just want to raise concern about the behaviour of last updated at field in database. I don't know whether this is still on development/improvement or is a bug.

Currently, when chat is updated either via "Save", "Submit", or "Regenerate" (response), last_updated_at field does not seem to change.

For more context, "Submit" would:

  • create new record in chat with createdAt == lastUpdatedAt
  • hard delete all chats submitted after the edited chat

"Regenerate" would:

  • create (replace) new record in chat with createdAt == lastUpdatedAt

What I use:

  • Postgres for database
  • AnythingLLM v1.15.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions