feat: add ITV and TTV model types to data and update model type checks

This commit is contained in:
wxg0103 2025-09-19 09:24:40 +08:00
parent f06bdf3ee5
commit 8d9c466ced
2 changed files with 6 additions and 2 deletions

View File

@ -92,7 +92,9 @@
(currentModel.model_type === 'TTS' ||
currentModel.model_type === 'LLM' ||
currentModel.model_type === 'IMAGE' ||
currentModel.model_type === 'TTI') &&
currentModel.model_type === 'TTI' ||
currentModel.model_type === 'ITV' ||
currentModel.model_type === 'TTV') &&
permissionPrecise.paramSetting(model.id)
"
@click.stop="openParamSetting"

View File

@ -7,7 +7,9 @@ export const modelTypeList = [
{ text: t(modelType['STT']), value: 'STT' },
{ text: t(modelType['TTS']), value: 'TTS' },
{ text: t(modelType['IMAGE']), value: 'IMAGE' },
{ text: t(modelType['TTI']), value: 'TTI' }
{ text: t(modelType['TTI']), value: 'TTI' },
{ text: t(modelType['ITV']), value: 'ITV' },
{ text: t(modelType['TTV']), value: 'TTV' },
]