移除聊天残留的 appId 兜底
This commit is contained in:
@@ -16,7 +16,7 @@ class ChatTask {
|
||||
}
|
||||
|
||||
async streamChat(userInfo, message, callback) {
|
||||
const userId = userInfo ? userInfo._id : message.appId;
|
||||
const userId = userInfo?._id;
|
||||
|
||||
let agent = this.agents.get(userId);
|
||||
if (agent) {
|
||||
|
||||
Reference in New Issue
Block a user