summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-06-20 14:41:58 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-07-07 13:39:10 +0200
commit795b097122a8dd70b4d6b9ebe044440396be9104 (patch)
tree6b899006ec3b537730a5b08d0a52a5551fe237b8 /lib/private/Server.php
parent9d5717d239d380273f49ea6542c7eee2f0353703 (diff)
downloadnextcloud-server-795b097122a8dd70b4d6b9ebe044440396be9104.tar.gz
nextcloud-server-795b097122a8dd70b4d6b9ebe044440396be9104.zip
LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index f98ee051a32..3a18779ac86 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -110,6 +110,7 @@ use OC\IntegrityCheck\Checker;
use OC\IntegrityCheck\Helpers\AppLocator;
use OC\IntegrityCheck\Helpers\EnvironmentHelper;
use OC\IntegrityCheck\Helpers\FileAccessHelper;
+use OC\LanguageModel\LanguageModelManager;
use OC\LDAP\NullLDAPProviderFactory;
use OC\KnownUser\KnownUserService;
use OC\Lock\DBLockingProvider;
@@ -229,6 +230,7 @@ use OCP\IURLGenerator;
use OCP\IUserManager;
use OCP\IUserSession;
use OCP\L10N\IFactory;
+use OCP\LanguageModel\ILanguageModelManager;
use OCP\LDAP\ILDAPProvider;
use OCP\LDAP\ILDAPProviderFactory;
use OCP\Lock\ILockingProvider;
@@ -1470,6 +1472,8 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(IEventSourceFactory::class, EventSourceFactory::class);
+ $this->registerAlias(ILanguageModelManager::class, LanguageModelManager::class);
+
$this->connectDispatcher();
}