feat: новая функция

This commit is contained in:
2025-11-12 22:34:39 +03:00
parent 6cca7b7c0c
commit c45f98160a
6 changed files with 40 additions and 6 deletions

View File

@@ -426,7 +426,7 @@ async function analyzeUserMessage(userId, message) {
logger.info(`[ProfileAnalysis] Сообщение пользователя ${userId}: "${message.substring(0, 100)}${message.length > 100 ? '...' : ''}"`);
const DEFAULT_TAG_NAME = 'Без лицензии';
const isGuest = typeof userId === 'string' && userId.startsWith('guest_');
const isGuest = userContextService.isGuestId(userId);
let currentContext = null;
let currentName = null;