This commit is contained in:
FFXN
2026-04-16 16:14:03 +08:00
parent 68e371a365
commit 459a12cd9d

View File

@@ -1735,7 +1735,7 @@ def _setup_variable_pool(
}
# Only add chatflow-specific variables for chat-like workflow types.
if workflow.type not in {WorkflowType.WORKFLOW, WorkflowType.EVALUATION}:
if workflow.type not in {WorkflowType.WORKFLOW, WorkflowType.EVALUATION, WorkflowType.SNIPPET}:
system_variable_values.update(
{
"query": query,