mirror of
https://mirror.skon.top/github.com/langgenius/dify.git
synced 2026-04-20 23:40:16 +08:00
snippet
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user