Метод findActiveSession
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
строки
161–169
~/bitrix/modulesim/lib/V2/Chat/Copilot/GenerationStopService.php
Исходный код
Сигнатура метода
private function findActiveSession(int $chatId): ?array
Возвращает:
?array
Описание
The aiassistant half of the stop contract (this lookup plus the OnCopilotGenerationStop subscriber) ships with the aiassistant module on its own schedule. Until it lands, treat the missing lookup as "no active session" so enabling the feature flag early cannot fatal.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$chatId
|
int
|
-
|
-
|