feat(conversation): TTS 投递与 WebSocket 管线;客户端播放门禁与会话页联动;COS 键与迁移脚本调整

This commit is contained in:
Kevin
2026-03-26 15:51:24 +08:00
parent c23931ec91
commit d990399112
22 changed files with 630 additions and 74 deletions

View File

@@ -118,7 +118,7 @@ class RedisService:
async def append_tts_audio_url_to_last_ai_message(
self, conversation_id: str, url: str
) -> bool:
"""向最近一条 AI 消息的 ttsAudioUrls 追加 COS 公开 URL。"""
"""向最近一条 AI 消息的 ttsAudioUrls 追加 upload 返回的 canonical URL非预签名。客户端通过 GET /messages 等出口收到预签名 URL。"""
if not url:
return False
try: