Skip to content

Commit

Permalink
fix: avoid warnings when build
Browse files Browse the repository at this point in the history
  • Loading branch information
satrong committed Apr 17, 2024
1 parent 718ef1d commit e593dd4
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 e593dd4

Please sign in to comment.