feat(agents): 支持个人微信发布与渠道会话
This commit is contained in:
@@ -49,6 +49,8 @@ export async function handleCloudAgentsRoutes(req: IncomingMessage, res: ServerR
|
||||
data = await cloudAgents.uploadSkill();
|
||||
} else if (path === '/files/save' && req.method === 'POST') {
|
||||
data = await cloudAgents.download(await parseJsonBody(req));
|
||||
} else if (path === '/files/save-channel' && req.method === 'POST') {
|
||||
data = await cloudAgents.downloadChannelArtifact(await parseJsonBody(req));
|
||||
} else if (path === '/actions' && req.method === 'POST') {
|
||||
data = await cloudAgents.execute(await parseJsonBody(req));
|
||||
} else if ((path === '/bootstrap' || path === '/agents') && req.method === 'GET') {
|
||||
|
||||
Reference in New Issue
Block a user