Skip to content

The open alternative to Salesforce, designed for AI.

419 B
Raw Blame
import { type AgentChatChannelSummary } from '@/ai/types/AgentChatChannelSummary';
import { createAtomState } from '@/ui/utilities/state/jotai/utils/createAtomState';

// Counted by the server, as the client only loads some of a channel's chats
export const agentChatChannelSummariesState = createAtomState<
  Record<string, AgentChatChannelSummary>
>({
  key: 'agentChatChannelSummariesState',
  defaultValue: {},
});