feat(agents): 复用 Yuxi 头像上传与展示

This commit is contained in:
brother7 committed 2026-10-12 13:48:38 +08:00
1 parent 0ca744fb9b
commit 235af24d6c
16 files changed
+381 -32

No files matched your search

+2
View File
@@ -41,6 +41,8 @@ export async function handleCloudAgentsRoutes(req: IncomingMessage, res: ServerR
data = await cloudAgents.rememberRecent(await parseJsonBody(req));
} else if (path === '/recovery/pending' && req.method === 'POST') {
data = await cloudAgents.resolvePending(await parseJsonBody(req));
} else if (path === '/avatars/pick' && req.method === 'POST') {
data = await cloudAgents.uploadAvatar();
} else if (path === '/attachments/pick' && req.method === 'POST') {
data = await cloudAgents.upload();
} else if (path === '/knowledge/pick' && req.method === 'POST') {