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: retriever_resource missing (#1317)
takatost9cba1c8bf496
diff --git a/api/core/orchestrator_rule_parser.py b/api/core/orchestrator_rule_parser.pyindex 36d04ada39a..f359cf82fd2 100644--- a/api/core/orchestrator_rule_parser.py+++ b/api/core/orchestrator_rule_parser.py@@ -37,12 +37,13 @@ class OrchestratorRuleParser:def to_agent_executor(self, conversation_message_task: ConversationMessageTask, memory: Optional[BaseChatMemory],rest_tokens: int, chain_callback: MainChainGatherCallbackHandler,- return_resource: bool = False, retriever_from: str = 'dev') -> Optional[AgentExecutor]:+ retriever_from: str = 'dev') -> Optional[AgentExecutor]:if not self.app_model_config.agent_mode_dict:return Noneagent_mode_config = self.app_model_config.agent_mode_dictmodel_dict = self.app_model_config.model_dict+ return_resource = self.app_model_config.retriever_resource_dict.get('enabled', False)chain = Noneif agent_mode_config and agent_mode_config.get('enabled'):diff --git a/api/core/tool/dataset_retriever_tool.py b/api/core/tool/dataset_retriever_tool.pyindex d90636e7174..33fec157eaa 100644--- a/api/core/tool/dataset_retriever_tool.py+++ b/api/core/tool/dataset_retriever_tool.py@@ -30,7 +30,7 @@ class DatasetRetrieverTool(BaseTool):dataset_id: strk: int = 3conversation_message_task: ConversationMessageTask- return_resource: str+ return_resource: boolretriever_from: str@classmethoddiff --git a/api/models/model.py b/api/models/model.pyindex 9a0b8c6554c..f372f516da1 100644--- a/api/models/model.py+++ b/api/models/model.py@@ -196,7 +196,8 @@ class AppModelConfig(db.Model):user_input_form=self.user_input_form,dataset_query_variable=self.dataset_query_variable,pre_prompt=self.pre_prompt,- agent_mode=self.agent_mode+ agent_mode=self.agent_mode,+ retriever_resource=self.retriever_resource)return new_app_model_config