修复:CI 部署环境与 ref 错配、迁移碎片化、图片意图 source_span、章节物化脏版式、会话历史与本地语音不一致
新增:TTS 上传 COS 与分片、章节 reading_segments 物化与快照、markdown 清洗、会话消息 repository、语音 store 重构与相关测试
This commit is contained in:
@@ -46,6 +46,9 @@ function mapServerMessage(raw: RawServerMessage): WsEvent | null {
|
||||
kind: 'tts_audio_received',
|
||||
conversationId: cid,
|
||||
audioBase64: d.audio_base64 as string,
|
||||
audioUrl: d.audio_url as string | undefined,
|
||||
index: d.index as number | undefined,
|
||||
total: d.total as number | undefined,
|
||||
};
|
||||
|
||||
case 'end_conversation':
|
||||
|
||||
@@ -60,6 +60,9 @@ export interface TtsAudioReceivedEvent {
|
||||
kind: 'tts_audio_received';
|
||||
conversationId: string;
|
||||
audioBase64: string;
|
||||
audioUrl?: string;
|
||||
index?: number;
|
||||
total?: number;
|
||||
}
|
||||
|
||||
export interface ConversationEndedEvent {
|
||||
|
||||
Reference in New Issue
Block a user