Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

585 B
Raw Blame
import { isDesktop } from '@lobechat/const';
import { memo } from 'react';

import OllamaSetupGuide from '@/components/OllamaSetupGuide';
import { ErrorActionContainer } from '@/features/Conversation/Error/style';

import OllamaDesktopSetupGuide from './Desktop';

const SetupGuide = memo<{ container?: boolean }>(({ container = true }) => {
  const content = isDesktop ? <OllamaDesktopSetupGuide /> : <OllamaSetupGuide />;

  if (!container) return content;

  return <ErrorActionContainer style={{ paddingBlock: 0 }}>{content}</ErrorActionContainer>;
});

export default SetupGuide;