feat: add agent role binding management (#12382)

This commit is contained in:
ssongliu
2026-04-01 09:12:07 +00:00
committed by GitHub
parent d83b49cc70
commit 5ce155eee6
13 changed files with 688 additions and 77 deletions
+8
View File
@@ -129,6 +129,14 @@ export const deleteAgentRole = (req: AI.AgentRoleDeleteReq) => {
return http.post(`/ai/agents/agent/delete`, req);
};
export const bindAgentRole = (req: AI.AgentRoleBindReq) => {
return http.post(`/ai/agents/agent/bind`, req);
};
export const unbindAgentRole = (req: AI.AgentRoleBindReq) => {
return http.post(`/ai/agents/agent/unbind`, req);
};
export const getConfiguredAgentRoles = (req: AI.AgentConfiguredAgentsReq) => {
return http.post<AI.AgentConfiguredAgentItem[]>(`/ai/agents/agent/list`, req);
};