mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 00:53:54 +08:00
feature:角色配置能力部分实现
This commit is contained in:
@@ -78,4 +78,16 @@ export default {
|
||||
// });
|
||||
}).send();
|
||||
},
|
||||
//智能体模板列表
|
||||
getAgentTemplateList(callback) {
|
||||
RequestService.sendRequest().url(`${getServiceUrl()}/user/agent/template`)
|
||||
.method('GET')
|
||||
.success((res) => {
|
||||
RequestService.clearRequestTime()
|
||||
callback(res)
|
||||
})
|
||||
.fail((err) => {
|
||||
console.error('获取智能体模板列表失败:', err);
|
||||
}).send()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user