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 wrong filter handle for saved messages (#24891)
ZalterCittybd482eb8eff3
diff --git a/api/services/message_service.py b/api/services/message_service.pyindex a19d6ee1575..13c8e948ca1 100644--- a/api/services/message_service.py+++ b/api/services/message_service.py@@ -112,7 +112,9 @@ class MessageService:base_query = base_query.where(Message.conversation_id == conversation.id)# Check if include_ids is not None and not empty to avoid WHERE false condition- if include_ids is not None and len(include_ids) > 0:+ if include_ids is not None:+ if len(include_ids) == 0:+ return InfiniteScrollPagination(data=[], limit=limit, has_more=False)base_query = base_query.where(Message.id.in_(include_ids))if last_id: