mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 17:38:04 +08:00
fix type error of placeholder
This commit is contained in:
@ -773,11 +773,11 @@ export const useWorkflowRun = () => {
|
||||
onTTSChunk: (messageId: string, audio: string) => {
|
||||
if (!audio || audio === '')
|
||||
return
|
||||
player.playAudioWithAudio(audio, true)
|
||||
player?.playAudioWithAudio(audio, true)
|
||||
AudioPlayerManager.getInstance().resetMsgId(messageId)
|
||||
},
|
||||
onTTSEnd: (messageId: string, audio: string) => {
|
||||
player.playAudioWithAudio(audio, false)
|
||||
player?.playAudioWithAudio(audio, false)
|
||||
},
|
||||
onWorkflowSuspended: (params) => {
|
||||
handleWorkflowSuspended()
|
||||
|
||||
Reference in New Issue
Block a user