aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/src
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-08-30 09:15:59 +0200
committerJulien Veyssier <julien-nc@posteo.net>2024-08-30 10:07:01 +0200
commitb06302e02469fd201a8c2d54e99a6e4a07ff28e8 (patch)
treee967a40fd74836089bff1b4efba32ea17fb9a3c4 /apps/settings/src
parentde117d4654f7158007fe8ef2308a04796cd27701 (diff)
downloadnextcloud-server-b06302e02469fd201a8c2d54e99a6e4a07ff28e8.tar.gz
nextcloud-server-b06302e02469fd201a8c2d54e99a6e4a07ff28e8.zip
fix(settings): Remove STT admin settings
taskprocessing is transparent to STT providers so specific STT settings are obsolete Signed-off-by: Marcel Klehr <mklehr@gmx.net> Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps/settings/src')
-rw-r--r--apps/settings/src/components/AdminAI.vue21
1 files changed, 0 insertions, 21 deletions
diff --git a/apps/settings/src/components/AdminAI.vue b/apps/settings/src/components/AdminAI.vue
index 5796500a434..a3fb654fa0a 100644
--- a/apps/settings/src/components/AdminAI.vue
+++ b/apps/settings/src/components/AdminAI.vue
@@ -50,24 +50,6 @@
</div>
</draggable>
</NcSettingsSection>
- <NcSettingsSection :name="t('settings', 'Speech-To-Text')"
- :description="t('settings', 'Speech-To-Text can be implemented by different apps. Here you can set which app should be used.')">
- <template v-for="provider in sttProviders">
- <NcCheckboxRadioSwitch :key="provider.class"
- :checked.sync="settings['ai.stt_provider']"
- :value="provider.class"
- name="stt_provider"
- type="radio"
- @update:checked="saveChanges">
- {{ provider.name }}
- </NcCheckboxRadioSwitch>
- </template>
- <template v-if="!hasStt">
- <NcNoteCard type="info">
- {{ t('settings', 'None of your currently installed apps provide Speech-To-Text functionality') }}
- </NcNoteCard>
- </template>
- </NcSettingsSection>
<NcSettingsSection :name="t('settings', 'Image generation')"
:description="t('settings', 'Image generation can be implemented by different apps. Here you can set which app should be used.')">
<template v-for="provider in text2imageProviders">
@@ -162,9 +144,6 @@ export default {
}
},
computed: {
- hasStt() {
- return this.sttProviders.length > 0
- },
hasTextProcessing() {
return Object.keys(this.settings['ai.textprocessing_provider_preferences']).length > 0 && Array.isArray(this.textProcessingTaskTypes)
},