瀏覽代碼

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> = ({