diff --git a/lib/Controller/ChattyLLMController.php b/lib/Controller/ChattyLLMController.php index 1b1d92d8..6138255e 100644 --- a/lib/Controller/ChattyLLMController.php +++ b/lib/Controller/ChattyLLMController.php @@ -349,6 +349,7 @@ public function regenerateForSession(int $sessionId, int $messageId): JSONRespon * @return JSONResponse * @throws \OCP\DB\Exception */ + #[NoAdminRequired] public function checkMessageGenerationTask(int $taskId, int $sessionId): JSONResponse { if ($this->userId === null) { return new JSONResponse(['error' => $this->l10n->t('User not logged in')], Http::STATUS_UNAUTHORIZED); @@ -437,6 +438,7 @@ public function generateTitle(int $sessionId): JSONResponse { } } + #[NoAdminRequired] public function checkTitleGenerationTask(int $taskId, int $sessionId): JSONResponse { if ($this->userId === null) { return new JSONResponse(['error' => $this->l10n->t('User not logged in')], Http::STATUS_UNAUTHORIZED);