diff --git a/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py b/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py index c11b79a7b30..0ac7db2694a 100644 --- a/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py +++ b/apps/application/flow/step_node/variable_splitting_node/impl/base_variable_splitting_node.py @@ -7,7 +7,7 @@ @desc: """ import json -from jsonpath_ng import parse +from jsonpath_ng.ext import parse from application.flow.i_step_node import NodeResult from application.flow.step_node.variable_splitting_node.i_variable_splitting_node import IVariableSplittingNode diff --git a/pyproject.toml b/pyproject.toml index 2b5447d360f..3b94a94cf44 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ dependencies = [ "websockets==15.0.1", "pylint==3.3.7", "cohere==5.17.0", - "jsonpath-ng==1.7.0", + "jsonpath-ng==1.8.0", ] [tool.uv] diff --git a/ui/src/locales/lang/en-US/workflow.ts b/ui/src/locales/lang/en-US/workflow.ts index 939706357f9..6f15ef3a789 100644 --- a/ui/src/locales/lang/en-US/workflow.ts +++ b/ui/src/locales/lang/en-US/workflow.ts @@ -505,7 +505,7 @@ You are a master of problem optimization, adept at accurately inferring user int expression: { label: 'Expression', placeholder: 'Please enter expression', - tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book', + tooltip: 'Please use JSON Path expressions to split variables, e.g.: $.store.book Click for details ➜ pypi.org', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-CN/workflow.ts b/ui/src/locales/lang/zh-CN/workflow.ts index 79164f83bff..8e3f6c3d4a7 100644 --- a/ui/src/locales/lang/zh-CN/workflow.ts +++ b/ui/src/locales/lang/zh-CN/workflow.ts @@ -496,7 +496,7 @@ export default { expression: { label: '表达式', placeholder: '请输入表达式', - tooltip: '请使用JSON Path 表达式拆分变量,例如:$.store.book', + tooltip: '请使用 JSON Path 表达式拆分变量,例如:$.store.book 点击查看详情 ➜ pypi.org', }, }, parameterExtractionNode: { diff --git a/ui/src/locales/lang/zh-Hant/workflow.ts b/ui/src/locales/lang/zh-Hant/workflow.ts index 326b8c5e863..342c4cecfa7 100644 --- a/ui/src/locales/lang/zh-Hant/workflow.ts +++ b/ui/src/locales/lang/zh-Hant/workflow.ts @@ -490,7 +490,7 @@ export default { expression: { label: '表達式', placeholder: '請輸入表達式', - tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book', + tooltip: '請使用 JSON Path 表達式拆分變量,例如:$.store.book 點擊查看詳情 ➜ pypi.org', }, }, parameterExtractionNode: { diff --git a/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue b/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue index 23af2555f7f..71834519fee 100644 --- a/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue +++ b/ui/src/workflow/nodes/variable-splitting/component/VariableFieldDialog.vue @@ -57,11 +57,11 @@ > + @@ -161,4 +161,12 @@ const submit = async (formEl: FormInstance | undefined) => { defineExpose({ open, close }) - +