aboutsummaryrefslogtreecommitdiffstats
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-08-09 09:59:58 +0200
commit236c32b13f190f49fa369e4eb20ec4a85a76ba04 (patch)
tree4fea77e1e266efd327b5585e652da1495d8c1c01 /lib/private/Server.php
parent5807c431b854cca5e46fda4222782cd488137222 (diff)
downloadnextcloud-server-236c32b13f190f49fa369e4eb20ec4a85a76ba04.tar.gz
nextcloud-server-236c32b13f190f49fa369e4eb20ec4a85a76ba04.zip
LLM OCP API: Implement ocs API
Signed-off-by: Marcel Klehr <mklehr@gmx.net> (cherry picked from commit 795b097122a8dd70b4d6b9ebe044440396be9104)
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 bb4e217efa3..d1f18a1235f 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;
@@ -228,6 +229,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;
@@ -1461,6 +1463,8 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerAlias(ISpeechToTextManager::class, SpeechToTextManager::class);
+ $this->registerAlias(ILanguageModelManager::class, LanguageModelManager::class);
+
$this->connectDispatcher();
}