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.

231 B
Raw Blame
import { useChatStore } from '@/store/chat';

export const useAgentConversationCoordinate = () =>
  useChatStore(
    (state) =>
      [state.activeAgentId, state.activeTopicId ?? null, state.activeThreadId ?? null] as const,
  );