mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 19:36:53 +08:00
fix: node use vision model may caused page crash (#15921)
This commit is contained in:
@@ -89,7 +89,7 @@ const Panel: FC<NodePanelProps<ParameterExtractorNodeType>> = ({
|
||||
},
|
||||
)
|
||||
|
||||
if (isVisionModel && data.vision.enabled && data.vision.configs?.variable_selector) {
|
||||
if (isVisionModel && data.vision?.enabled && data.vision?.configs?.variable_selector) {
|
||||
const currentVariable = findVariableWhenOnLLMVision(data.vision.configs.variable_selector, availableVisionVars)
|
||||
|
||||
forms.push(
|
||||
|
||||
Reference in New Issue
Block a user