mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-20 02:34:52 +00:00
4.8.10 perf (#2378)
* perf: helpline code * fix: prompt call stream=false response prefix * fix: app chat log auth * perf: new chat i18n * fix: milvus dataset cannot export data * perf: doc intro
This commit is contained in:
2
projects/app/src/global/core/chat/api.d.ts
vendored
2
projects/app/src/global/core/chat/api.d.ts
vendored
@@ -30,7 +30,7 @@ export type InitChatResponse = {
|
||||
chatId?: string;
|
||||
appId: string;
|
||||
userAvatar?: string;
|
||||
title: string;
|
||||
title?: string;
|
||||
variables: Record<string, any>;
|
||||
history: ChatItemType[];
|
||||
app: {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
import { AppTypeEnum } from '@fastgpt/global/core/app/constants';
|
||||
import { InitChatResponse } from './api';
|
||||
import { i18nT } from '@fastgpt/web/i18n/utils';
|
||||
|
||||
export const defaultChatData: InitChatResponse = {
|
||||
chatId: '',
|
||||
appId: '',
|
||||
@@ -12,7 +12,7 @@ export const defaultChatData: InitChatResponse = {
|
||||
type: AppTypeEnum.simple,
|
||||
pluginInputs: []
|
||||
},
|
||||
title: i18nT('chat:new_chat'),
|
||||
title: '',
|
||||
variables: {},
|
||||
history: []
|
||||
};
|
||||
|
Reference in New Issue
Block a user