File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1622,6 +1622,8 @@ Example: Virtual Hosted Style`,
16221622 notEmpty : 'Not empty' ,
16231623 in : 'In' ,
16241624 notIn : 'Not in' ,
1625+ is : 'Is' ,
1626+ isNot : 'Is not' ,
16251627 } ,
16261628 switchLogicOperatorOptions : {
16271629 and : 'AND' ,
@@ -1883,6 +1885,8 @@ This process aggregates variables from multiple branches into a single variable
18831885 beginInputTip :
18841886 'By defining input parameters, this content can be accessed by other components in subsequent processes.' ,
18851887 query : 'Query variables' ,
1888+ switchPromptMessage :
1889+ 'The prompt words will change. Please confirm whether you want to discard the existing prompt words?' ,
18861890 queryRequired : 'Query is required' ,
18871891 queryTip : 'Select the variable you want to use' ,
18881892 agent : 'Agent' ,
Original file line number Diff line number Diff line change @@ -1515,6 +1515,8 @@ General:实体和关系提取提示来自 GitHub - microsoft/graphrag:基于
15151515 endWith : '结束是' ,
15161516 empty : '为空' ,
15171517 notEmpty : '不为空' ,
1518+ is : '是' ,
1519+ isNot : '不是' ,
15181520 } ,
15191521 switchLogicOperatorOptions : {
15201522 and : '与' ,
Original file line number Diff line number Diff line change @@ -466,15 +466,16 @@ const useGraphStore = create<RFState>()(
466466 }
467467 } ,
468468 updateSwitchFormData : ( source , sourceHandle , target , isConnecting ) => {
469- const { updateNodeForm, edges } = get ( ) ;
469+ const { updateNodeForm, edges, getOperatorTypeFromId } = get ( ) ;
470470 if ( sourceHandle ) {
471471 // A handle will connect to multiple downstream nodes
472472 let currentHandleTargets = edges
473473 . filter (
474474 ( x ) =>
475475 x . source === source &&
476476 x . sourceHandle === sourceHandle &&
477- typeof x . target === 'string' ,
477+ typeof x . target === 'string' &&
478+ getOperatorTypeFromId ( x . target ) !== Operator . Placeholder ,
478479 )
479480 . map ( ( x ) => x . target ) ;
480481
You can’t perform that action at this time.
0 commit comments