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.

487 B
Raw Blame
'use client';

import { createModal } from '@lobehub/ui';
import { t } from 'i18next';

import AgentSkillStoreContent from './Content';

/** Open the agent-scoped "connect new tool" store for a specific agent. */
export const createAgentSkillStoreModal = (agentId: string) =>
  createModal({
    content: <AgentSkillStoreContent agentId={agentId} />,
    footer: null,
    title: t('settingAgent.tools.connection.connectForAgent', { ns: 'setting' }),
    width: 'min(80%, 800px)',
  });