mirror of https://github.com/langgenius/dify.git
feat: answer use selector vars
This commit is contained in:
parent
ead55ce931
commit
b8818c90b0
|
|
@ -35,6 +35,7 @@ const Panel: FC<NodePanelProps<AnswerNodeType>> = ({
|
|||
value={inputs.answer}
|
||||
onChange={handleAnswerChange}
|
||||
variables={inputs.variables.map(item => item.variable)}
|
||||
nodesOutputVars={availableVarList}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -38,8 +38,6 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
|||
handleModelChanged,
|
||||
hasSetBlockStatus,
|
||||
handleCompletionParamsChange,
|
||||
handleVarListChange,
|
||||
handleAddVariable,
|
||||
handleContextVarChange,
|
||||
filterInputVar,
|
||||
filterVar,
|
||||
|
|
@ -155,7 +153,7 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
|||
<ConfigPrompt
|
||||
readOnly={readOnly}
|
||||
nodeId={id}
|
||||
filterVar={filterVar}
|
||||
filterVar={filterInputVar}
|
||||
isChatModel={isChatModel}
|
||||
isChatApp={isChatMode}
|
||||
isShowContext
|
||||
|
|
|
|||
Loading…
Reference in New Issue