mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 06:56:29 +08:00
fix context
This commit is contained in:
parent
977020f580
commit
9175eb455f
@ -221,8 +221,11 @@ class LLMNode(BaseNode):
|
|||||||
:param variable_pool: variable pool
|
:param variable_pool: variable pool
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
# if not node_data.context.enabled:
|
if not node_data.context.enabled:
|
||||||
# return None
|
return None
|
||||||
|
|
||||||
|
if not node_data.context.variable_selector:
|
||||||
|
return None
|
||||||
|
|
||||||
context_value = variable_pool.get_variable_value(node_data.context.variable_selector)
|
context_value = variable_pool.get_variable_value(node_data.context.variable_selector)
|
||||||
if context_value:
|
if context_value:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user