taiji_caozhaorui il y a 1 semaine
Parent
commit
33c197fe07

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

@@ -1050,7 +1050,7 @@ const Configuration: FC = () => {
             <NewFeaturePanel
               show
               inWorkflow={false}
-              showFileUpload={false}
+              showFileUpload={true}
               isChatMode={mode !== 'completion'}
               disabled={false}
               onChange={handleFeaturesChange}

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

@@ -114,7 +114,7 @@ const Answer: FC<AnswerProps> = ({
         <div className={cn('group relative pr-10', chatAnswerContainerInner)}>
           <div
             ref={contentRef}
-            className={cn('body-lg-regular relative inline-block max-w-full rounded-2xl bg-chat-bubble-bg px-4 py-3 text-text-primary', workflowProcess && 'w-full')}
+            className={cn('czr body-lg-regular relative inline-block max-w-full rounded-2xl bg-chat-bubble-bg px-4 py-3 text-text-primary', workflowProcess && 'w-full')}
           >
             {
               !responding && (

+ 1 - 0
web/app/components/base/chat/chat/hooks.ts

@@ -309,6 +309,7 @@ export const useChat = (
         ttsUrl = `/apps/${params.appId}/text-to-audio`
     }
     const player = AudioPlayerManager.getInstance().getAudioPlayer(ttsUrl, ttsIsPublic, uuidV4(), 'none', 'none', (_: any): any => { })
+    // czr
     ssePost(
       url,
       {

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

@@ -241,6 +241,7 @@ const Chat: FC<ChatProps> = ({
                 if (item.isAnswer) {
                   const isLast = item.id === chatList[chatList.length - 1]?.id
                   return (
+                    // 123
                     <Answer
                       appData={appData}
                       key={item.id}