mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-05 02:51:07 +00:00
feat: UI component rendering in agent dialog mode (#1083)
Co-authored-by: csunny <cfqsunny@163.com>
This commit is contained in:
@@ -11,7 +11,13 @@ import {
|
||||
PostEditorSQLRunParams,
|
||||
PostSQLEditorSubmitParams,
|
||||
} from '@/types/editor';
|
||||
import { PostAgentHubUpdateParams, PostAgentQueryParams, PostAgentPluginResponse, PostAgentMyPluginResponse } from '@/types/agent';
|
||||
import {
|
||||
PostAgentHubUpdateParams,
|
||||
PostAgentQueryParams,
|
||||
PostAgentPluginResponse,
|
||||
PostAgentMyPluginResponse,
|
||||
GetDBGPTsListResponse,
|
||||
} from '@/types/agent';
|
||||
import {
|
||||
AddKnowledgeParams,
|
||||
ArgumentsParams,
|
||||
@@ -211,6 +217,9 @@ export const postAgentUpload = (user = '', data: FormData, config?: Omit<AxiosRe
|
||||
...config,
|
||||
});
|
||||
};
|
||||
export const getDbgptsList = () => {
|
||||
return GET<undefined, GetDBGPTsListResponse>('/api/v1/dbgpts/list');
|
||||
};
|
||||
|
||||
/** chat feedback **/
|
||||
export const getChatFeedBackSelect = () => {
|
||||
|
Reference in New Issue
Block a user