refactor: 移除不必要的 TTS 配置和模型,回复runtime部分的内容

This commit is contained in:
EvanWu
2025-07-30 23:34:29 +08:00
parent c5e6b1278f
commit e836dc0db8
2 changed files with 2 additions and 16 deletions

View File

@@ -5,9 +5,9 @@ import { ListItem, Select, PasswordInput } from "@/app/components/ui-lib";
import { InputRange } from "@/app/components/input-range";
import { Voice } from "rt-client";
import { REALTIME_TTS_MODELS, ServiceProvider } from "@/app/constant";
import { ServiceProvider } from "@/app/constant";
const providers = Object.keys(REALTIME_TTS_MODELS) as ServiceProvider[];
const providers = [ServiceProvider.OpenAI, ServiceProvider.Azure];
const models = ["gpt-4o-realtime-preview-2024-10-01", "qwen-tts-realtime"];