From ff2388e7e1db34c3e34f50a0c8d9bc8b3762c57c Mon Sep 17 00:00:00 2001 From: Chaim Date: Tue, 31 Mar 2026 23:09:10 +0000 Subject: [PATCH] feat: add status endpoint, hide FAB/dashlet when integration disabled --- .../Modules/SmartAssistant/Controllers/SmartAssistant.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php b/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php index 97f5953..dab702a 100644 --- a/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php +++ b/files/custom/Espo/Modules/SmartAssistant/Controllers/SmartAssistant.php @@ -34,6 +34,11 @@ class SmartAssistant } } + public function getActionStatus(Request $request, Response $response): array + { + return $this->getService()->getStatus(); + } + public function postActionChat(Request $request, Response $response): array { $this->checkAccess();