Skip to content

Commit

Permalink
Update NewConversationForm.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
spammenotinoz authored Oct 9, 2023
1 parent 506bdc3 commit f854721
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions frontend/src/views/conversation/components/NewConversationForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,6 @@
:placeholder="newConversationInfo.source == 'openai_web' ? t('tips.NewConversationForm.leaveBlankToGenerateTitle') : null"
/>
</n-form-item>
<n-form-item :label="t('labels.model')">
<n-select v-model:value="newConversationInfo.model" :options="availableModels" />
</n-form-item>
<n-form-item
v-if="newConversationInfo.source === 'openai_web' && newConversationInfo.model === 'gpt_4_plugins'"
:label="t('labels.plugins')"
>
<n-select
v-model:value="newConversationInfo.openaiWebPlugins"
:options="pluginOptions"
clearable
multiple
:placeholder="selectPluginPlaceholder"
:loading="loadingPlugins"
:disabled="loadingPlugins"
:render-label="renderPluginSelectionLabel"
:render-tag="renderPluginSelectionTag"
/>
</n-form-item>
</n-form>
</div>
</template>
Expand Down

0 comments on commit f854721

Please sign in to comment.