feat: regenerate in Chat, agent and Chatflow app (#7661)

This commit is contained in:
Hash Brown 2024-09-22 03:15:11 +08:00 • committed by GitHub
commit 8c51d06222
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 606 additions and 181 deletions

View file

@ -105,8 +105,6 @@ class ChatMessageListApi(Resource):
if rest_count > 0:
has_more = True
history_messages = list(reversed(history_messages))
return InfiniteScrollPagination(data=history_messages, limit=args["limit"], has_more=has_more)