소스 검색

fix: ui in chat openning statement (#1094)

crazywoola 1 년 전
부모
커밋
487e699021
4개의 변경된 파일139개의 추가작업 그리고 406개의 파일을 삭제
  1. 1 1
      web/app/components/app/chat/index.tsx
  2. 1 1
      web/app/components/share/chat/index.tsx
  3. 0 1
      web/app/components/share/chatbot/index.tsx
  4. 137 403
      web/yarn.lock

+ 1 - 1
web/app/components/app/chat/index.tsx

@@ -56,7 +56,7 @@ export type IChatProps = {
 const Chat: FC<IChatProps> = ({
   configElem,
   chatList,
-  controlChatUpdateAllConversation,
+
   feedbackDisabled = false,
   isHideFeedbackEdit = false,
   isHideSendInput = false,

+ 1 - 1
web/app/components/share/chat/index.tsx

@@ -318,7 +318,7 @@ const Main: FC<IMainProps> = ({
       content: caculatedIntroduction,
       isAnswer: true,
       feedbackDisabled: true,
-      isOpeningStatement: isPublicVersion,
+      isOpeningStatement: true,
     }
     if (caculatedIntroduction)
       return [openstatement]

+ 0 - 1
web/app/components/share/chatbot/index.tsx

@@ -238,7 +238,6 @@ const Main: FC<IMainProps> = ({
     if (caculatedIntroduction && caculatedPromptVariables)
       caculatedIntroduction = replaceStringWithValues(caculatedIntroduction, promptConfig?.prompt_variables || [], caculatedPromptVariables)
 
-    // console.log(isPublicVersion)
     const openstatement = {
       id: `${Date.now()}`,
       content: caculatedIntroduction,

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 137 - 403
web/yarn.lock


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.