FastGPT/packages/global/core/app/constants.ts
2024-06-19 14:38:21 +08:00

24 lines
497 B
TypeScript

import { AppTTSConfigType, AppWhisperConfigType } from './type';
export enum AppTypeEnum {
folder = 'folder',
simple = 'simple',
workflow = 'advanced',
plugin = 'plugin',
httpPlugin = 'httpPlugin'
}
export const defaultTTSConfig: AppTTSConfigType = { type: 'web' };
export const defaultWhisperConfig: AppWhisperConfigType = {
open: false,
autoSend: false,
autoTTSResponse: false
};
export const defaultChatInputGuideConfig = {
open: false,
textList: [],
customUrl: ''
};