From 00a3929fe7003715bb4d48f72a3ac2a0550f5588 Mon Sep 17 00:00:00 2001 From: liudong <liudong> Date: 星期二, 20 八月 2024 09:56:24 +0800 Subject: [PATCH] 历史记录请求加载 --- src/api/Agent.ts | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/Agent.ts b/src/api/Agent.ts index df889fa..de7af61 100644 --- a/src/api/Agent.ts +++ b/src/api/Agent.ts @@ -41,9 +41,17 @@ }); } +// 鐢ㄦ埛涔犳儻浼氳瘽鍒楄〃 +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