Chore: refactor embedded chatbot (#5125)
This commit is contained in:
parent
54e02b8147
commit
4289f17be2
15 changed files with 1051 additions and 20 deletions
|
|
@ -3,7 +3,7 @@ import type { FC } from 'react'
|
|||
import React, { useEffect } from 'react'
|
||||
import cn from 'classnames'
|
||||
import type { IMainProps } from '@/app/components/share/chat'
|
||||
import Main from '@/app/components/share/chatbot'
|
||||
import EmbeddedChatbot from '@/app/components/base/chat/embedded-chatbot'
|
||||
import Loading from '@/app/components/base/loading'
|
||||
import { fetchSystemFeatures } from '@/service/share'
|
||||
import LogoSite from '@/app/components/base/logo/logo-site'
|
||||
|
|
@ -77,7 +77,7 @@ const Chatbot: FC<IMainProps> = () => {
|
|||
</div>
|
||||
</div>
|
||||
)
|
||||
: <Main />
|
||||
: <EmbeddedChatbot />
|
||||
}
|
||||
</>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue