Метод deliverCachedIfFresh

public static

Сигнатура метода

public static function deliverCachedIfFresh(int $managerId, int $userId, ?Main\Type\DateTime $referenceDate = null): bool

Возвращает: bool

Описание

Re-delivers the previously generated summary when the manager's data has not changed since it was produced, without launching a new AI job. Returns true when the cached result is authoritative (caller must skip launch), false when a fresh generation is needed.

Параметры

3
Имя Тип По умолчанию Флаги
$managerId int —
—
$userId int —
—
$referenceDate ?Main\Type\DateTime null
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/integration/ai/operation/generatemanagersummary.php
Расположение метода в файле
Строки 146–181

Исходный код

PHP