mirror of https://github.com/langgenius/dify.git
fix bug
This commit is contained in:
parent
30a9b8b917
commit
a0dde6e4da
|
|
@ -201,6 +201,9 @@ class ChatConversationApi(Resource):
|
|||
.having(func.count(Message.id) >= args['message_count_gte'])
|
||||
)
|
||||
|
||||
if app_model.mode == AppMode.ADVANCED_CHAT.value:
|
||||
query = query.where(Conversation.override_model_configs.is_(None))
|
||||
|
||||
query = query.order_by(Conversation.created_at.desc())
|
||||
|
||||
conversations = db.paginate(
|
||||
|
|
|
|||
Loading…
Reference in New Issue