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 issue: query is none when doing retrieval (#10129)
Jyongdad041c49f24
diff --git a/api/core/rag/datasource/retrieval_service.py b/api/core/rag/datasource/retrieval_service.pyindex 3affbd2d0af..57af05861c1 100644--- a/api/core/rag/datasource/retrieval_service.py+++ b/api/core/rag/datasource/retrieval_service.py@@ -34,6 +34,8 @@ class RetrievalService:reranking_mode: Optional[str] = "reranking_model",weights: Optional[dict] = None,):+ if not query:+ return []dataset = db.session.query(Dataset).filter(Dataset.id == dataset_id).first()if not dataset:return []