From fe2d4623b7ad5ce6e9706125e1f33581ea8b03f0 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期二, 20 八月 2024 18:35:59 +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