Explorar el Código

@刘丹璇 的单独打包版本

Ryuiso hace 1 mes
padre
commit
f71e73bbae

+ 3 - 4
app/components/DeepSeekChat.tsx

@@ -142,8 +142,7 @@ export function createMessage( override : Partial<ChatMessage> ) : ChatMessage {
 
 export const BOT_HELLO : ChatMessage = createMessage( {
   role: "assistant",
-  content: '你好,我是小智~\n' +
-      '我可以帮助你快速查询作业指导书、规范条文、公司信息等内容,如需获取上述内容,请点击上方导航栏中的「专业知识」或「职能管理」,选择相应的智能体进行提问。无论是现场技术,还是制度流程,我都会尽力为你解答!\n' +
+  content: '我可以帮助你快速查询作业指导书、规范条文、公司信息等内容,如需获取上述内容,请点击上方导航栏中的「专业知识」或「职能管理」,选择相应的智能体进行提问。无论是现场技术,还是制度流程,我都会尽力为你解答!\n' +
       '请注意:在这个对话框内,我只能请DeepSeek来帮忙回答常见通用问题哦!',
 } );
 
@@ -885,7 +884,7 @@ function _Chat(props?: { onMessageSent?: () => void }) {
     del: () => chatStore.deleteSession( chatStore.currentSessionIndex ),
   } );
   
-  // only search prompts when user input is short 
+  // only search prompts when user input is short
   const SEARCH_TEXT_LIMIT = 30;
   const onInput = ( text : string ) => {
     setUserInput( text );
@@ -1962,4 +1961,4 @@ export function Chat(props?: { onMessageSent?: () => void }) {
   }, [] );
   
   return <_Chat key={ sessionIndex } onMessageSent={props?.onMessageSent}></_Chat>;
-}
+}

+ 1 - 1
app/components/DeepSeekHomeChat.tsx

@@ -1530,4 +1530,4 @@ export function Chat() {
   }, []);
 
   return <_Chat key={sessionIndex}></_Chat>;
-}
+}

+ 3 - 3
app/components/sidebar.tsx

@@ -570,8 +570,8 @@ export const SideBar = (props: { className?: string }) => {
                     />
                   </div>
                 }
-                <img style={{ height: 32 }} src={faviconSrc.src} />
-                <span>建科•小智</span>
+                {/*<img style={{ height: 32 }} src={faviconSrc.src} />*/}
+                <span>课题工具</span>
               </div>
               :
               ''
@@ -791,4 +791,4 @@ export const SideBar = (props: { className?: string }) => {
       }
     </>
   );
-}
+}