fix context

This commit is contained in:
takatost 2024-03-18 21:11:27 +08:00
parent 977020f580
commit 9175eb455f
1 changed files with 5 additions and 2 deletions

View File

@ -221,8 +221,11 @@ class LLMNode(BaseNode):
:param variable_pool: variable pool
:return:
"""
# if not node_data.context.enabled:
# return None
if not node_data.context.enabled:
return None
if not node_data.context.variable_selector:
return None
context_value = variable_pool.get_variable_value(node_data.context.variable_selector)
if context_value: