|
|
|
|
@ -12,6 +12,7 @@
|
|
|
|
|
<p>{{ type.description }}</p>
|
|
|
|
|
<p> </p>
|
|
|
|
|
<NcSelect v-model="settings['ai.taskprocessing_provider_preferences'][type.id]"
|
|
|
|
|
class="provider-select"
|
|
|
|
|
:clearable="false"
|
|
|
|
|
:options="taskProcessingProviders.filter(p => p.taskType === type.id).map(p => p.id)"
|
|
|
|
|
@input="saveChanges">
|
|
|
|
|
@ -93,6 +94,7 @@
|
|
|
|
|
<p>{{ getTextProcessingTaskType(type).description }}</p>
|
|
|
|
|
<p> </p>
|
|
|
|
|
<NcSelect v-model="settings['ai.textprocessing_provider_preferences'][type]"
|
|
|
|
|
class="provider-select"
|
|
|
|
|
:clearable="false"
|
|
|
|
|
:options="textProcessingProviders.filter(p => p.taskType === type).map(p => p.class)"
|
|
|
|
|
@input="saveChanges">
|
|
|
|
|
@ -239,4 +241,8 @@ export default {
|
|
|
|
|
.ai-settings h3 {
|
|
|
|
|
font-size: 16px; /* to offset against the 20px section heading */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.provider-select {
|
|
|
|
|
min-width: 350px !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|