mirror of
https://github.com/langgenius/dify.git
synced 2026-01-07 23:04:12 +00:00
feat: answer use selector vars
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user