fix: no var caused bugs

This commit is contained in:
Joel 2024-04-01 16:57:03 +08:00
parent 74ead43ae1
commit 53c988718b
3 changed files with 0 additions and 3 deletions

View File

@ -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>

View File

@ -20,7 +20,6 @@ type Props = {
isChatModel: boolean
isChatApp: boolean
payload: PromptItem | PromptItem[]
variables: string[]
onChange: (payload: PromptItem | PromptItem[]) => void
isShowContext: boolean
hasSetBlockStatus: {

View File

@ -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}
/>