@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.
22 lines (18 loc) • 437 B
text/typescript
import { LobeToolRenderType } from '@/types/tool';
export interface V4ChatPluginPayload {
apiName: string;
arguments: string;
identifier: string;
type: LobeToolRenderType;
}
export interface V4Message {
content: string;
createdAt: number;
id: string;
plugin?: V4ChatPluginPayload;
role: 'user' | 'system' | 'assistant' | 'function';
updatedAt: number;
}
export interface V4ConfigState {
messages: V4Message[];
}