UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

21 lines (18 loc) 600 B
import { FileItem } from '@/types/files'; export interface ChatToolState { activePageContentUrl?: string; codeInterpreterExecuting: Record<string, boolean>; codeInterpreterImageMap: Record<string, FileItem>; dalleImageLoading: Record<string, boolean>; dalleImageMap: Record<string, FileItem>; localFileLoading: Record<string, boolean>; searchLoading: Record<string, boolean>; } export const initialToolState: ChatToolState = { codeInterpreterExecuting: {}, codeInterpreterImageMap: {}, dalleImageLoading: {}, dalleImageMap: {}, localFileLoading: {}, searchLoading: {}, };