feat: Sort conversations by updated_at desc (#7348)

Co-authored-by: wangpj <wangpj@hundsunc.om>
Co-authored-by: JzoNg <jzongcode@gmail.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
KinWang 2024-08-20 17:55:44 +08:00 committed by GitHub
commit e35e251863
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 227 additions and 51 deletions

View file

@ -150,6 +150,7 @@ conversation_with_summary_fields = {
"summary": fields.String(attribute="summary_or_query"),
"read_at": TimestampField,
"created_at": TimestampField,
"updated_at": TimestampField,
"annotated": fields.Boolean,
"model_config": fields.Nested(simple_model_config_fields),
"message_count": fields.Integer,