You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
:description="t('settings', 'Machine translation can be implemented by different apps. Here you can define the precedence of the machine translation apps you have installed at the moment.')">
:description="t('settings', 'Machine translation can be implemented by different apps. Here you can define the precedence of the machine translation apps you have installed at the moment.')">
60
+
<NcNoteCard type="warning">
61
+
{{ t('settings', 'This API is deprecated. Install apps that provide Unified task processing to get the best experience.') }}
62
+
<ahref="https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html"target="_blank"rel="noopener noreferrer">{{ t('settings', 'Learn more about AI providers') }}</a>
85
63
</NcNoteCard>
86
-
</template>
87
-
</NcSettingsSection>
88
-
<NcSettingsSection
89
-
:name="t('settings', 'Text processing')"
90
-
:description="t('settings', 'Text processing tasks can be implemented by different apps. Here you can set which app should be used for which task.')">
:description="t('settings', 'Image generation can be implemented by different apps. Here you can set which app should be used.')">
83
+
<NcNoteCard type="warning">
84
+
{{ t('settings', 'This API is deprecated. Install apps that provide Unified task processing to get the best experience.') }}
85
+
<ahref="https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html"target="_blank"rel="noopener noreferrer">{{ t('settings', 'Learn more about AI providers') }}</a>
116
86
</NcNoteCard>
117
-
</template>
118
-
</NcSettingsSection>
87
+
<templatev-for="providerintext2imageProviders">
88
+
<NcCheckboxRadioSwitch
89
+
:key="provider.id"
90
+
v-model="settings['ai.text2image_provider']"
91
+
:value="provider.id"
92
+
name="text2image_provider"
93
+
type="radio"
94
+
@update:modelValue="saveChanges">
95
+
{{ provider.name }}
96
+
</NcCheckboxRadioSwitch>
97
+
</template>
98
+
<templatev-if="!hasText2ImageProviders">
99
+
<NcNoteCard type="info">
100
+
{{ t('settings', 'None of your currently installed apps provide image generation functionality') }}
101
+
</NcNoteCard>
102
+
</template>
103
+
</NcSettingsSection>
104
+
<NcSettingsSection
105
+
:name="t('settings', 'Text processing (Legacy)')"
106
+
:description="t('settings', 'Text processing tasks can be implemented by different apps. Here you can set which app should be used for which task.')">
107
+
<NcNoteCard type="warning">
108
+
{{ t('settings', 'This API is deprecated. Install apps that provide Unified task processing to get the best experience.') }}
109
+
<ahref="https://docs.nextcloud.com/server/latest/admin_manual/ai/overview.html"target="_blank"rel="noopener noreferrer">{{ t('settings', 'Learn more about AI providers') }}</a>
0 commit comments