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.

15 lines (12 loc) 483 B
import { ImageGenerationTopic } from '@/types/generation'; export interface GenerationTopicState { activeGenerationTopicId: string | null; loadingGenerationTopicIds: string[]; generationTopics: ImageGenerationTopic[]; } export const initialGenerationTopicState: GenerationTopicState = { activeGenerationTopicId: typeof window !== 'undefined' ? new URLSearchParams(window.location.search).get('topic') : null, loadingGenerationTopicIds: [], generationTopics: [], };