mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-18 09:24:03 +00:00
app list open-api & completion with appid & get history source (#3011)
* app list open-api & completion with appid & get history source * change default value position
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
@@ -4,6 +4,7 @@ import type { OutLinkChatAuthProps } from '@fastgpt/global/support/permission/ch
|
||||
import { AppTypeEnum } from '@fastgpt/global/core/app/constants';
|
||||
import { RequestPaging } from '@/types';
|
||||
import { GetChatTypeEnum } from '@/global/core/chat/constants';
|
||||
import { ChatSourceEnum } from '@fastgpt/global/core/chat/constants';
|
||||
export type GetChatSpeechProps = {
|
||||
ttsConfig: AppTTSConfigType;
|
||||
input: string;
|
||||
@@ -56,6 +57,7 @@ export type InitChatResponse = {
|
||||
/* ---------- history ----------- */
|
||||
export type GetHistoriesProps = OutLinkChatAuthProps & {
|
||||
appId?: string;
|
||||
source?: `${ChatSourceEnum}`;
|
||||
};
|
||||
|
||||
export type UpdateHistoryProps = OutLinkChatAuthProps & {
|
||||
|
Reference in New Issue
Block a user