Преглед изворни кода

fix: enable after disabled memory not pass user query (#11136)

Joel пре 4 месеци
родитељ
комит
79db920fa7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      web/app/components/workflow/nodes/_base/components/memory-config.tsx

+ 1 - 1
web/app/components/workflow/nodes/_base/components/memory-config.tsx

@@ -53,7 +53,7 @@ type Props = {
 
 const MEMORY_DEFAULT: Memory = {
   window: { enabled: false, size: WINDOW_SIZE_DEFAULT },
-  query_prompt_template: '',
+  query_prompt_template: '{{#sys.query#}}',
 }
 
 const MemoryConfig: FC<Props> = ({