@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) • 414 B
text/typescript
import { DEFAULT_SETTINGS } from '@lobechat/const';
import { UserSettings } from '@lobechat/types';
import type { PartialDeep } from 'type-fest';
export interface UserSettingsState {
defaultSettings: UserSettings;
settings: PartialDeep<UserSettings>;
updateSettingsSignal?: AbortController;
}
export const initialSettingsState: UserSettingsState = {
defaultSettings: DEFAULT_SETTINGS,
settings: {},
};