feat: 功能优化
This commit is contained in:
@@ -9,6 +9,14 @@ const SERVER_BASE_AI = API_BASE.APP_AI
|
||||
* 用户提示词 API
|
||||
*/
|
||||
export const UserPromptApi = {
|
||||
/**
|
||||
* 获取用户可用提示词列表(自建 + 收藏的智能体)
|
||||
* @returns {Promise} 响应数据
|
||||
*/
|
||||
getMyPromptList: async () => {
|
||||
return await http.get(`${SERVER_BASE_AI}/user-prompt/my-list`)
|
||||
},
|
||||
|
||||
/**
|
||||
* 创建用户提示词
|
||||
* @param {Object} data - 提示词数据
|
||||
|
||||
Reference in New Issue
Block a user