perf: AI机器人支持多会话

This commit is contained in:
kuaifan
2025-02-10 16:48:08 +09:00
parent da0fa31181
commit 501235ef12
5 changed files with 186 additions and 14 deletions

View File

@@ -1196,6 +1196,8 @@ class WebSocketDialogMsg extends AbstractModel
$dialogMsg->send = 1;
$dialogMsg->generateKeyAndSave($search_key);
//
WebSocketDialogSession::updateTitle($dialogMsg->session_id, $dialogMsg);
//
if ($dialogMsg->type === 'meeting') {
MeetingMsg::createInstance([
'meetingid' => $dialogMsg->msg['meetingid'],