فهرست منبع

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


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است