mirror of
https://github.com/langgenius/dify.git
synced 2026-09-08 11:04:27 +08:00
snippet
This commit is contained in:
parent
68e371a365
commit
459a12cd9d
@ -1735,7 +1735,7 @@ def _setup_variable_pool(
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Only add chatflow-specific variables for chat-like workflow types.
|
# 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(
|
system_variable_values.update(
|
||||||
{
|
{
|
||||||
"query": query,
|
"query": query,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user