mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-27 08:00:58 +00:00
feat: add agent role binding management (#12382)
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user