feat(agents): 复用 Yuxi 头像上传与展示
This commit is contained in:
1 parent
0ca744fb9b
commit
235af24d6c
16 files changed
+381
-32
No files matched your search
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user