Kaynağa Gözat

fix: ui in chat openning statement (#1094)

crazywoola 1 yıl önce
ebeveyn
işleme
487e699021

+ 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,

Dosya farkı çok büyük olduğundan ihmal edildi
+ 137 - 403
web/yarn.lock


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor