mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-02 12:48:30 +00:00

* doc * feat: file upload config * perf: chat box file params * feat: markdown show file * feat: chat file store and clear * perf: read file contentType * feat: llm vision config * feat: file url output * perf: plugin error text * perf: image load * feat: ai chat document * perf: file block ui * feat: read file node * feat: file read response field * feat: simple mode support read files * feat: tool call * feat: read file histories * perf: select file * perf: select file config * i18n * i18n * fix: ts; feat: tool response preview result
32 lines
737 B
TypeScript
32 lines
737 B
TypeScript
import { AppTTSConfigType, AppFileSelectConfigType, AppWhisperConfigType } from './type';
|
|
|
|
export enum AppTypeEnum {
|
|
folder = 'folder',
|
|
simple = 'simple',
|
|
workflow = 'advanced',
|
|
plugin = 'plugin',
|
|
httpPlugin = 'httpPlugin'
|
|
}
|
|
|
|
export const AppFolderTypeList = [AppTypeEnum.folder, AppTypeEnum.httpPlugin];
|
|
|
|
export const defaultTTSConfig: AppTTSConfigType = { type: 'web' };
|
|
|
|
export const defaultWhisperConfig: AppWhisperConfigType = {
|
|
open: false,
|
|
autoSend: false,
|
|
autoTTSResponse: false
|
|
};
|
|
|
|
export const defaultChatInputGuideConfig = {
|
|
open: false,
|
|
textList: [],
|
|
customUrl: ''
|
|
};
|
|
|
|
export const defaultAppSelectFileConfig: AppFileSelectConfigType = {
|
|
canSelectFile: false,
|
|
canSelectImg: false,
|
|
maxFiles: 10
|
|
};
|