fix: adjust TTS default instructions for faster speech tempo

Changed from "语速适中" to "语速稍快,简洁干练" to reduce perceived
latency in voice conversations.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-03-01 22:09:32 -08:00
parent fb236de6e4
commit 32922c6819
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ async def entrypoint(ctx: JobContext) -> None:
_http_client_tts = _httpx.AsyncClient(verify=False) _http_client_tts = _httpx.AsyncClient(verify=False)
_oai_client_tts = _openai.AsyncOpenAI(http_client=_http_client_tts) _oai_client_tts = _openai.AsyncOpenAI(http_client=_http_client_tts)
default_instructions = "用自然、友好的中文语气说话,语速适中,像真人助手一样。" default_instructions = "用自然、友好的中文语气说话,语速稍快,简洁干练,像专业助手一样。"
tts = openai_plugin.TTS( tts = openai_plugin.TTS(
model=settings.openai_tts_model, model=settings.openai_tts_model,
voice=tts_voice, voice=tts_voice,