mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 09:44:47 +00:00

* perf: input guide code * perf: input guide ui * Chat input guide api * Update app chat config store * perf: app chat config field * perf: app context * perf: params * fix: ts * perf: filter private config * perf: filter private config * perf: import workflow * perf: limit max tip amount
29 lines
562 B
TypeScript
29 lines
562 B
TypeScript
import { AppTTSConfigType, AppWhisperConfigType } from './type';
|
|
|
|
export enum AppTypeEnum {
|
|
simple = 'simple',
|
|
advanced = 'advanced'
|
|
}
|
|
export const AppTypeMap = {
|
|
[AppTypeEnum.simple]: {
|
|
label: 'simple'
|
|
},
|
|
[AppTypeEnum.advanced]: {
|
|
label: 'advanced'
|
|
}
|
|
};
|
|
|
|
export const defaultTTSConfig: AppTTSConfigType = { type: 'web' };
|
|
|
|
export const defaultWhisperConfig: AppWhisperConfigType = {
|
|
open: false,
|
|
autoSend: false,
|
|
autoTTSResponse: false
|
|
};
|
|
|
|
export const defaultChatInputGuideConfig = {
|
|
open: false,
|
|
textList: [],
|
|
customUrl: ''
|
|
};
|