feat(stage-pages): Add warning for unavailable indextts2 support in I… (#1018)

This commit is contained in:
MisakaKumomi 御坂云见
2026-02-03 05:26:02 +08:00
committed by GitHub
parent 31904bc682
commit d95dc5e023
4 changed files with 17 additions and 5 deletions
@@ -671,6 +671,8 @@ pages:
index-tts-vllm:
description: https://index-tts.github.io/
title: Bilibili / IndexTTS
callout_indextts2_unavailable_title: Limited Support
callout_indextts2_unavailable: Support for IndexTTS2 is currently unavailable. Please use IndexTTS.
azure-ai-foundry:
description: Azure AI Foundry
title: Azure AI Foundry
@@ -615,6 +615,8 @@ pages:
index-tts-vllm:
description: https://index-tts.github.io/
title: Bilibili / IndexTTS
callout_indextts2_unavailable_title: 支持受限
callout_indextts2_unavailable: IndexTTS2 的支持目前不可用。请使用 IndexTTS。
azure-ai-foundry:
description: Azure AI Foundry
title: Azure AI Foundry
@@ -7,10 +7,11 @@ import {
} from '@proj-airi/stage-ui/components'
import { useSpeechStore } from '@proj-airi/stage-ui/stores/modules/speech'
import { useProvidersStore } from '@proj-airi/stage-ui/stores/providers'
import { Callout } from '@proj-airi/ui'
import { computed, onMounted, watch } from 'vue'
// import { useI18n } from 'vue-i18n'
import { useI18n } from 'vue-i18n'
// const { t } = useI18n()
const { t } = useI18n()
const providerId = 'index-tts-vllm'
const defaultModel = 'IndexTTS-1.5'
@@ -63,6 +64,13 @@ async function handleGenerateSpeech(input: string, voiceId: string) {
</script>
<template>
<Callout
theme="violet"
:label="t('settings.pages.providers.provider.index-tts-vllm.callout_indextts2_unavailable_title')"
>
{{ t('settings.pages.providers.provider.index-tts-vllm.callout_indextts2_unavailable') }}
</Callout>
<SpeechProviderSettings :provider-id="providerId" :default-model="defaultModel">
<!-- Replace the default playground with our standalone component -->
<template #playground>
+3 -3
View File
@@ -3020,7 +3020,7 @@ importers:
version: 14.1.0(vue@3.5.26(typescript@5.9.3))
'@wxt-dev/module-vue':
specifier: ^1.0.3
version: 1.0.3(vite@8.0.0-beta.9(@types/node@24.10.9)(esbuild@0.27.2)(jiti@2.6.1)(less@4.5.1)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.9.3))(wxt@0.20.13(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(rollup@4.55.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))
version: 1.0.3(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.9.3))(wxt@0.20.13(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(rollup@4.55.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))
nanoid:
specifier: ^5.1.6
version: 5.1.6
@@ -23281,9 +23281,9 @@ snapshots:
'@types/filesystem': 0.0.36
'@types/har-format': 1.2.16
'@wxt-dev/module-vue@1.0.3(vite@8.0.0-beta.9(@types/node@24.10.9)(esbuild@0.27.2)(jiti@2.6.1)(less@4.5.1)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.9.3))(wxt@0.20.13(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(rollup@4.55.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))':
'@wxt-dev/module-vue@1.0.3(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.9.3))(wxt@0.20.13(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(rollup@4.55.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))':
dependencies:
'@vitejs/plugin-vue': 6.0.3(vite@8.0.0-beta.9(@types/node@24.10.9)(esbuild@0.27.2)(jiti@2.6.1)(less@4.5.1)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.9.3))
'@vitejs/plugin-vue': 6.0.3(vite@7.3.1(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2))(vue@3.5.26(typescript@5.9.3))
wxt: 0.20.13(@types/node@24.10.9)(jiti@2.6.1)(less@4.5.1)(lightningcss@1.30.2)(rollup@4.55.2)(terser@5.44.1)(tsx@4.21.0)(yaml@2.8.2)
transitivePeerDependencies:
- vite