mirror of
https://github.com/langgenius/dify.git
synced 2026-03-27 01:00:13 +08:00
fix: questioin classify memory limit
This commit is contained in:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user