ソースを参照

钊瑞,你把记忆默认改成启用

CzRger 2 週間 前
コミット
9f4cecd872
共有2 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 1 1
      src/views/chat/answer/index.vue
  2. 1 1
      src/views/workflow/instance/llm/default.ts

+ 1 - 1
src/views/chat/answer/index.vue

@@ -104,7 +104,7 @@
                   <SvgIcon name="czr_arrow" size="8" class="ml-1" />
                 </template>
               </div>
-              <div class="mt-2 flex flex-col gap-1">
+              <div class="mt-2 flex flex-col gap-1" v-if="state.workflowExpend">
                 <template v-for="wf in item.workflows">
                   <div class="rounded-sm bg-[#ffffff] p-1">
                     <div

+ 1 - 1
src/views/workflow/instance/llm/default.ts

@@ -15,7 +15,7 @@ const nodeDefault = {
       enabled: false,
       variableSelector: [],
     },
-    __isMemory: false,
+    __isMemory: true,
     // handle字段
     memory: {
       window: {