mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-28 16:01:00 +00:00
feat: add browser config for Agent (#11958)
This commit is contained in:
@@ -164,6 +164,14 @@ export const updateAgentDiscordConfig = (req: AI.AgentDiscordConfigUpdateReq) =>
|
||||
return http.post(`/ai/agents/channel/discord/update`, req);
|
||||
};
|
||||
|
||||
export const getAgentBrowserConfig = (req: AI.AgentBrowserConfigReq) => {
|
||||
return http.post<AI.AgentBrowserConfig>(`/ai/agents/browser/get`, req);
|
||||
};
|
||||
|
||||
export const updateAgentBrowserConfig = (req: AI.AgentBrowserConfigUpdateReq) => {
|
||||
return http.post(`/ai/agents/browser/update`, req);
|
||||
};
|
||||
|
||||
export const approveAgentChannelPairing = (req: AI.AgentChannelPairingApproveReq) => {
|
||||
return http.post(`/ai/agents/channel/pairing/approve`, req);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user