mirror of https://github.com/langgenius/dify.git
fix: no var caused bugs
This commit is contained in:
parent
74ead43ae1
commit
53c988718b
|
|
@ -34,7 +34,6 @@ const Panel: FC<NodePanelProps<AnswerNodeType>> = ({
|
|||
title={t(`${i18nPrefix}.answer`)!}
|
||||
value={inputs.answer}
|
||||
onChange={handleAnswerChange}
|
||||
variables={inputs.variables.map(item => item.variable)}
|
||||
nodesOutputVars={availableVarList}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ type Props = {
|
|||
isChatModel: boolean
|
||||
isChatApp: boolean
|
||||
payload: PromptItem | PromptItem[]
|
||||
variables: string[]
|
||||
onChange: (payload: PromptItem | PromptItem[]) => void
|
||||
isShowContext: boolean
|
||||
hasSetBlockStatus: {
|
||||
|
|
|
|||
|
|
@ -158,7 +158,6 @@ const Panel: FC<NodePanelProps<LLMNodeType>> = ({
|
|||
isChatApp={isChatMode}
|
||||
isShowContext
|
||||
payload={inputs.prompt_template}
|
||||
variables={inputs.variables.map(item => item.variable)}
|
||||
onChange={handlePromptChange}
|
||||
hasSetBlockStatus={hasSetBlockStatus}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue