From d6ccdaf74b286f3add0e384203d02611a8d67f53 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期五, 22 十一月 2024 17:47:12 +0800 Subject: [PATCH] iframe --- src/api/Agent.ts | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git a/src/api/Agent.ts b/src/api/Agent.ts index df889fa..a3a690a 100644 --- a/src/api/Agent.ts +++ b/src/api/Agent.ts @@ -41,9 +41,21 @@ }); } +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