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.

1.8 KB
Raw Blame
// sort-imports-ignore
import { type ChatAIChatState } from './slices/agentRun/initialState';
import { initialAiChatState } from './slices/agentRun/initialState';
import { type ChatAIAgentState } from './slices/aiAgent/initialState';
import { initialAiAgentState } from './slices/aiAgent/initialState';
import { type ChatToolState } from './slices/builtinTool/initialState';
import { initialToolState } from './slices/builtinTool/initialState';
import { type ChatMessageState } from './slices/message/initialState';
import { initialMessageState } from './slices/message/initialState';
import { type ChatOperationState } from './slices/operation/initialState';
import { initialOperationState } from './slices/operation/initialState';
import { type ChatPortalState } from './slices/portal/initialState';
import { initialChatPortalState } from './slices/portal/initialState';
import { type ChatThreadState } from './slices/thread/initialState';
import { initialThreadState } from './slices/thread/initialState';
import { type ChatTopicState } from './slices/topic/initialState';
import { initialTopicState } from './slices/topic/initialState';
import { type ChatVoiceMessageState } from './slices/voiceMessage/initialState';
import { initialVoiceMessageState } from './slices/voiceMessage/initialState';

export type ChatStoreState = ChatTopicState &
  ChatMessageState &
  ChatAIChatState &
  ChatToolState &
  ChatThreadState &
  ChatPortalState &
  ChatAIAgentState &
  ChatOperationState &
  ChatVoiceMessageState;

export const initialState: ChatStoreState = {
  ...initialMessageState,
  ...initialAiChatState,
  ...initialTopicState,
  ...initialToolState,
  ...initialThreadState,
  ...initialChatPortalState,
  ...initialOperationState,
  ...initialAiAgentState,
  ...initialVoiceMessageState,

  // cloud
};