We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a3a975 commit 43702e4Copy full SHA for 43702e4
ui/src/components/model-select/index.vue
@@ -97,6 +97,7 @@ const props = defineProps<{
97
const emit = defineEmits(['update:modelValue', 'change', 'submitModel'])
98
const modelValue = computed({
99
set: (item) => {
100
+ emit('change', item)
101
emit('update:modelValue', item)
102
},
103
get: () => {
@@ -127,7 +128,6 @@ const openCreateModel = (provider?: Provider, model_type?: string) => {
127
128
if (provider && provider.provider) {
129
createModelRef.value?.open(provider, model_type)
130
} else {
- console.log(model_type)
131
selectProviderRef.value?.open(model_type)
132
}
133
0 commit comments