From f1be1a3339bddda16aa7dfcef0ad4a55bddee2e2 Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期二, 20 八月 2024 16:08:03 +0800 Subject: [PATCH] 聊天临时智能体默认图标修改 --- src/api/Agent.ts | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 45 insertions(+), 0 deletions(-) diff --git a/src/api/Agent.ts b/src/api/Agent.ts index 81e0713..de7af61 100644 --- a/src/api/Agent.ts +++ b/src/api/Agent.ts @@ -32,3 +32,48 @@ export function deletedialog(params) { return axios.post('/api/v1/dialog/rm', params); } + + +// agent鍒楄〃鎺ュ彛 +export function queryCanvasList(params) { + return axios.get('/api/v1/canvas/list', { + params, + }); +} + +// 鐢ㄦ埛涔犳儻浼氳瘽鍒楄〃 +export function appUsageSessionListApi(dialog_id) { + return axios.get( + "/api/v1/conversation/app_usage" + ); +} + +// 鐢ㄦ埛涔犳儻鍒犻櫎鎺ュ彛 +export function deleteAppUsage(params) { + return axios.post('/api/v1/conversation/app_usage/rm', params); +} + + + + + + + + + + + + + + + + + + + + + + + + + -- Gitblit v1.8.0