Chore: chat log refactor (#5523)

This commit is contained in:
KVOJJJin 2024-06-24 12:29:14 +08:00 • committed by GitHub
commit 8294e97113
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
97 changed files with 165 additions and 5249 deletions

View file

@ -1,14 +1,12 @@
'use client'
import type { FC } from 'react'
import React, { useEffect } from 'react'
import cn from 'classnames'
import type { IMainProps } from '@/app/components/share/chat'
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'
const Chatbot: FC<IMainProps> = () => {
const Chatbot = () => {
const [isSSOEnforced, setIsSSOEnforced] = React.useState(true)
const [loading, setLoading] = React.useState(true)