mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-05 06:24:37 +00:00
feat(voice): dynamic settings voice picker with safe fallback + preview (#690)
* feat(voice): dynamic settings voice picker with safe fallback + preview * fix(voice): honor picker with configured agent and stop preview on unmount * fix(voice): apply PR review feedback for agent selection and preview cleanup
This commit is contained in:
@@ -208,6 +208,9 @@ export interface VoiceAgentConfig {
|
||||
language?: boolean
|
||||
first_message?: boolean
|
||||
}
|
||||
tts?: {
|
||||
voice_id?: boolean
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -249,6 +252,9 @@ export function buildVoiceAgentConfig(): VoiceAgentConfig {
|
||||
conversation_config_override: {
|
||||
agent: {
|
||||
language: true
|
||||
},
|
||||
tts: {
|
||||
voice_id: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user