From a1d6b8156eef067fa55dd1664119c754b27e7ab9 Mon Sep 17 00:00:00 2001
From: liudong <liudong>
Date: 星期三, 14 八月 2024 16:42:25 +0800
Subject: [PATCH] agent会话开发

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

diff --git a/src/api/model.ts b/src/api/model.ts
index a1ac5f6..6edf0be 100644
--- a/src/api/model.ts
+++ b/src/api/model.ts
@@ -49,6 +49,10 @@
   return axios.post('/api/v1/llm/add_llm', params);
 }
 
+export function editLlm(params) {
+  return axios.post('/api/v1/llm/edit_llm', params);
+}
+
 // 鍒犻櫎瀛愭ā鍨�
 export function deleteLlm(params) {
   return axios.post('/api/v1/llm/delete_llm', params);
@@ -67,3 +71,9 @@
 export function deleteLlmFactory(name) {
   return axios.delete(`/api/v1/llm/delete_llm_factory/${name}`);
 }
+
+//缂栬緫妯″瀷
+export function editLlmFactory(params) {
+  return axios.put('/api/v1/llm/edit_llm_factory', params);
+}
+

--
Gitblit v1.8.0