فهرست منبع

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