From 42e3694b8c48ef8d7b9cec3a8e48da666bcfcbe3 Mon Sep 17 00:00:00 2001
From: zhangxiao <898441624@qq.com>
Date: 星期五, 13 九月 2024 14:49:17 +0800
Subject: [PATCH] 增加权限管理-资源的拖拽功能锁定按钮

---
 src/api/Agent.ts |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diff --git a/src/api/Agent.ts b/src/api/Agent.ts
index 81e0713..a3a690a 100644
--- a/src/api/Agent.ts
+++ b/src/api/Agent.ts
@@ -32,3 +32,52 @@
 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 queryModelList() {
+  return axios.get('/api/v1/llm/distinct', {});
+}
+
+// 鐢ㄦ埛涔犳儻浼氳瘽鍒楄〃
+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