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: introduction key error (#221)
John Wang2c23caacd488
diff --git a/api/core/conversation_message_task.py b/api/core/conversation_message_task.pyindex dcf0c0b9579..3b73b19d1fb 100644--- a/api/core/conversation_message_task.py+++ b/api/core/conversation_message_task.py@@ -80,7 +80,10 @@ class ConversationMessageTask:if introduction:prompt_template = OutLinePromptTemplate.from_template(template=PromptBuilder.process_template(introduction))prompt_inputs = {k: self.inputs[k] for k in prompt_template.input_variables if k in self.inputs}- introduction = prompt_template.format(**prompt_inputs)+ try:+ introduction = prompt_template.format(**prompt_inputs)+ except KeyError:+ passif self.app_model_config.pre_prompt:pre_prompt = PromptBuilder.process_template(self.app_model_config.pre_prompt)