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.

25 lines (18 loc) 513 B
import { LobeSessions } from './agentSession'; export enum SessionDefaultGroup { Default = 'default', Pinned = 'pinned', } export type SessionGroupId = SessionDefaultGroup | string; export interface SessionGroupItem { createdAt: Date; id: string; name: string; sort?: number | null; updatedAt: Date; } export type SessionGroups = SessionGroupItem[]; export interface CustomSessionGroup extends SessionGroupItem { children: LobeSessions; } export type LobeSessionGroups = SessionGroupItem[];