This commit is contained in:
lik
2026-06-01 15:51:27 +08:00
parent 40c45c6db7
commit 83d660496c

View File

@@ -79,12 +79,12 @@ export default class WebSocketServerManager {
}
if (msg.type === 'chat' || msg.type === 'clear') {
if (msg.agent === 'escort') {
if (msg.agent === 'escort-admin') {
} else {
const userInfo = await this.getUserInfo(msg.userId);
chatTask.streamChat(userInfo, msg, (source, type, content, id) => {
ws.send(JSON.stringify({ source, type, content, id }));
});
} else if (msg.agent === 'escort-admin') {
}
return;
}