Метод findCopyableAiAgentTemplate
Сигнатура метода
public function findCopyableAiAgentTemplate(int $templateId): ?array
Возвращает:
?array
Описание
AI-agent template (system or user-created) that can be copied & started from the grid: a Nodes template from the AI_AGENT section that is not a launched copy. Used by copyAndStartAction both as the access predicate and as the source of SYSTEM_CODE for resolving the copy source (null SYSTEM_CODE = a user-created agent copied as CreateSource::User). See AiAgentRepository::findCopyableAiAgentTemplate().
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Provider/WorkflowTemplate/AiAgentProvider.php
Расположение метода в файле
Строки
129–132