@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) • 532 B
text/typescript
export interface SystemAgentItem {
customPrompt?: string;
enabled?: boolean;
model: string;
provider: string;
}
export interface QueryRewriteSystemAgent extends Omit<SystemAgentItem, 'enabled'> {
enabled: boolean;
}
export interface UserSystemAgentConfig {
agentMeta: SystemAgentItem;
historyCompress: SystemAgentItem;
queryRewrite: QueryRewriteSystemAgent;
thread: SystemAgentItem;
topic: SystemAgentItem;
translation: SystemAgentItem;
}
export type UserSystemAgentConfigKey = keyof UserSystemAgentConfig;