feat(speech): add role-aware emotional TTS profiles

This commit is contained in:
2026-07-18 18:27:14 +08:00
parent c0538ad8c3
commit 68d5600534
14 changed files with 228 additions and 45 deletions
+7
View File
@@ -27,6 +27,13 @@ export interface TtsResponse {
export type SpeechPlaybackStatus = 'idle' | 'loading' | 'playing';
export interface SpeechVoiceProfile {
role: 'mentor' | 'customer' | 'interviewer' | 'neutral';
voice?: string;
speed?: number;
emotion?: 'warm' | 'professional' | 'serious' | 'intense' | 'calm';
}
export interface ToolItem {
title: string;
desc: string;