Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: remove chat conversation api dead arg message_count_gte (#29097)
hj245bb715ee2f0f
diff --git a/api/controllers/console/app/conversation.py b/api/controllers/console/app/conversation.pyindex 9dcadc18a49..c16dcfd91fa 100644--- a/api/controllers/console/app/conversation.py+++ b/api/controllers/console/app/conversation.py@@ -49,7 +49,6 @@ class CompletionConversationQuery(BaseConversationQuery):class ChatConversationQuery(BaseConversationQuery):- message_count_gte: int | None = Field(default=None, ge=1, description="Minimum message count")sort_by: Literal["created_at", "-created_at", "updated_at", "-updated_at"] = Field(default="-updated_at", description="Sort field and direction")@@ -509,14 +508,6 @@ class ChatConversationApi(Resource):.having(func.count(MessageAnnotation.id) == 0))- if args.message_count_gte and args.message_count_gte >= 1:- query = (- query.options(joinedload(Conversation.messages)) # type: ignore- .join(Message, Message.conversation_id == Conversation.id)- .group_by(Conversation.id)- .having(func.count(Message.id) >= args.message_count_gte)- )-if app_model.mode == AppMode.ADVANCED_CHAT:query = query.where(Conversation.invoke_from != InvokeFrom.DEBUGGER)