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 variable invalid when key only one character (#2377)
takatost556d1d03902a
diff --git a/api/core/prompt/prompt_template.py b/api/core/prompt/prompt_template.pyindex fbf09d2c642..32c5a791de4 100644--- a/api/core/prompt/prompt_template.py+++ b/api/core/prompt/prompt_template.py@@ -1,6 +1,6 @@import re-REGEX = re.compile(r"\{\{([a-zA-Z_][a-zA-Z0-9_]{1,29}|#histories#|#query#|#context#)\}\}")+REGEX = re.compile(r"\{\{([a-zA-Z_][a-zA-Z0-9_]{0,29}|#histories#|#query#|#context#)\}\}")class PromptTemplateParser: