Skip to content

Commit dc54b4e

Browse files
authored
Merge pull request #456 from nextcloud/fix/summary-app-id
Fix: make summary service appId for the task specific so the tasks don't show up in task lists
2 parents 62b3d82 + e73b240 commit dc54b4e

5 files changed

Lines changed: 69 additions & 67 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"php": "^8.1",
14+
"php": "^8.2",
1515
"erusev/parsedown": "^1.7",
1616
"henck/rtf-to-html": "^1.2",
1717
"html2text/html2text": "^4.3",
@@ -34,13 +34,13 @@
3434
"nextcloud/ocp": "dev-master",
3535
"nextcloud/openapi-extractor": "^1.0.0",
3636
"phpunit/phpunit": "^9.5",
37-
"psalm/phar": "6.7"
37+
"psalm/phar": "6.15"
3838
},
3939
"config": {
4040
"sort-packages": true,
4141
"optimize-autoloader": true,
4242
"platform": {
43-
"php": "8.1"
43+
"php": "8.2"
4444
},
4545
"autoloader-suffix": "Assistant"
4646
}

composer.lock

Lines changed: 61 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/Controller/ChattyLLMController.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,9 @@ public function getMessages(int $sessionId, int $limit = 20, int $cursor = 0): J
422422
array_shift($messages);
423423
}
424424

425-
return new JSONResponse(array_map(static function (Message $message) { return $message->jsonSerialize(); }, $messages));
425+
return new JSONResponse(array_map(static function (Message $message) {
426+
return $message->jsonSerialize();
427+
}, $messages));
426428
} catch (\OCP\DB\Exception $e) {
427429
$this->logger->warning('Failed to get chat messages', ['exception' => $e]);
428430
return new JSONResponse(['error' => $this->l10n->t('Failed to get chat messages')], Http::STATUS_INTERNAL_SERVER_ERROR);

0 commit comments

Comments
 (0)