feat: new dbgpts modules (#1910)

Co-authored-by: 途杨 <tuyang.yhj@antgroup.com>
Co-authored-by: lhwan <1017484907@qq.com>
This commit is contained in:
明天
2024-08-28 21:31:42 +08:00
committed by GitHub
parent bb5d2d1f3d
commit d7a893e1a7
289 changed files with 3533 additions and 901 deletions

View File

@@ -6,18 +6,23 @@ export type PostAgentHubUpdateParams = {
};
export type PostAgentQueryParams = {
page_index?: number;
page_size?: number;
name?: string;
description?: string;
author?: string;
email?: string;
type?: string;
version?: string;
storage_channel?: string;
storage_url?: string;
};
export type PostDbgptMyQueryParams = {
type: string | undefined;
name: string | undefined;
page_index: number;
page_size: number;
filter?: {
name?: string;
description?: string;
author?: string;
email?: string;
type?: string;
version?: string;
storage_channel?: string;
storage_url?: string;
};
};
export type IAgentPlugin = {
@@ -41,6 +46,7 @@ export type PostAgentPluginResponse = {
total_page: number;
total_row_count: number;
datas: IAgentPlugin[];
items: IAgentPlugin[];
};
export type IMyPlugin = {
@@ -56,9 +62,12 @@ export type IMyPlugin = {
use_count: number;
created_at: string;
description: string;
data?: any;
};
export type PostAgentMyPluginResponse = IMyPlugin[];
export type PostAgentMyPluginResponse = {
items: IMyPlugin[];
}
export type GetDBGPTsListResponse = {
app_code: string;