diff --git a/frontend/src/components/account/ModelWhitelistSelector.vue b/frontend/src/components/account/ModelWhitelistSelector.vue index b1645a49fa..16788af018 100644 --- a/frontend/src/components/account/ModelWhitelistSelector.vue +++ b/frontend/src/components/account/ModelWhitelistSelector.vue @@ -278,6 +278,10 @@ const copyModelId = async (model: string) => { const addCustom = () => { const model = customModel.value.trim() if (!model) return + if (model.includes('*')) { + appStore.showInfo(t('admin.accounts.modelWildcardNotSupported')) + return + } if (props.modelValue.includes(model)) { appStore.showInfo(t('admin.accounts.modelExists')) return