mirror of https://github.com/langgenius/dify.git
fix: questioin classify memory limit
This commit is contained in:
parent
f9caa09cac
commit
1c05d2ef7f
|
|
@ -24,7 +24,7 @@ const Panel: FC<NodePanelProps<QuestionClassifierNodeType>> = ({
|
|||
readOnly,
|
||||
inputs,
|
||||
handleModelChanged,
|
||||
isChatModel,
|
||||
isChatMode,
|
||||
handleCompletionParamsChange,
|
||||
handleQueryVarChange,
|
||||
handleTopicsChange,
|
||||
|
|
@ -90,7 +90,7 @@ const Panel: FC<NodePanelProps<QuestionClassifierNodeType>> = ({
|
|||
supportFold
|
||||
>
|
||||
<AdvancedSetting
|
||||
hideMemorySetting={!isChatModel}
|
||||
hideMemorySetting={!isChatMode}
|
||||
instruction={inputs.instruction}
|
||||
onInstructionChange={handleInstructionChange}
|
||||
memory={inputs.memory}
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ const useConfig = (id: string, payload: QuestionClassifierNodeType) => {
|
|||
readOnly,
|
||||
inputs,
|
||||
handleModelChanged,
|
||||
isChatMode,
|
||||
isChatModel,
|
||||
handleCompletionParamsChange,
|
||||
handleQueryVarChange,
|
||||
|
|
|
|||
Loading…
Reference in New Issue