aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/lib/Controller
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-10-26 15:53:30 +0200
committerGitHub <noreply@github.com>2023-10-26 15:53:30 +0200
commit2b7f78fc2e9a5a031ffc04ba7f08885fb8a73cc9 (patch)
treeea9e8d782c4844f33e977e84b9a1ad6eba27db3d /apps/settings/lib/Controller
parente98be0a14753d6ddcc1f6123feb4c425549de41f (diff)
parentcef069e8f28f5703688103a13f3d523dc1bb5756 (diff)
downloadnextcloud-server-2b7f78fc2e9a5a031ffc04ba7f08885fb8a73cc9.tar.gz
nextcloud-server-2b7f78fc2e9a5a031ffc04ba7f08885fb8a73cc9.zip
Merge pull request #40326 from nextcloud/enh/text-to-image-api
Implement TextToImage OCP API
Diffstat (limited to 'apps/settings/lib/Controller')
-rw-r--r--apps/settings/lib/Controller/AISettingsController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings/lib/Controller/AISettingsController.php b/apps/settings/lib/Controller/AISettingsController.php
index 7f016d79c25..8db8fa8b5bb 100644
--- a/apps/settings/lib/Controller/AISettingsController.php
+++ b/apps/settings/lib/Controller/AISettingsController.php
@@ -57,7 +57,7 @@ class AISettingsController extends Controller {
* @return DataResponse
*/
public function update($settings) {
- $keys = ['ai.stt_provider', 'ai.textprocessing_provider_preferences', 'ai.translation_provider_preferences'];
+ $keys = ['ai.stt_provider', 'ai.textprocessing_provider_preferences', 'ai.translation_provider_preferences', 'ai.text2image_provider'];
foreach ($keys as $key) {
if (!isset($settings[$key])) {
continue;