import { Avatar } from '@lobehub/ui'; import { createStyles } from 'antd-style'; import isEqual from 'fast-deep-equal'; import { LucideBrain, LucideThermometer, WholeWord } from 'lucide-react'; import { memo } from 'react'; import { Center, Flexbox } from 'react-layout-kit'; import { shallow } from 'zustand/shallow'; import { agentSelectors, sessionSelectors, useChatStore } from '@/store/session'; import { ConfigCell, ConfigCellGroup } from './ConfigCell'; const useStyles = createStyles(({ css, token }) => ({ desc: css` color: ${token.colorText}; `, model: css` color: ${token.colorTextTertiary}; `, title: css` font-size: ${token.fontSizeHeading4}px; font-weight: bold; `, })); const ReadMode = memo(() => { const { styles } = useStyles(); const session = useChatStore(sessionSelectors.currentSessionSafe, isEqual); const avatar = useChatStore(agentSelectors.currentAgentAvatar, shallow); const title = useChatStore(agentSelectors.currentAgentTitle, shallow); const model = useChatStore(agentSelectors.currentAgentModel, shallow); return (