Skip to content

Commit

Permalink
Merge pull request #287 from satrong/fix-041721
Browse files Browse the repository at this point in the history
fix: avoid warnings when build
  • Loading branch information
sugarforever authored Apr 17, 2024
2 parents 718ef1d + e593dd4 commit ebadc67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/ChatSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function onReset() {
<UInput v-model="state.title" maxlength="40" />
</UFormGroup>
<UFormGroup label="Model" name="model" required class="mb-4">
<ModelsSelectMenu v-model="state.model" v-model:model="currentModel" />
<ModelsSelectMenu v-model="state.model" v-model:modelInfo="currentModel" />
</UFormGroup>
<UFormGroup label="Knowledge Base" name="knowledgeBaseId" class="mb-4">
<USelectMenu v-model="state.knowledgeBaseId"
Expand Down
2 changes: 1 addition & 1 deletion components/ModelsSelectMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const props = withDefaults(defineProps<{
})
const value = defineModel<string>()
const currentModel = defineModel<ModelInfo>('model')
const currentModel = defineModel<ModelInfo>('modelInfo')
const models = await loadModels()
Expand Down

0 comments on commit ebadc67

Please sign in to comment.