소스 검색

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

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: {