diff --git a/src/lib/components/chat/MessageInput/VoiceRecording.svelte b/src/lib/components/chat/MessageInput/VoiceRecording.svelte index 854fe8f9d..a92016879 100644 --- a/src/lib/components/chat/MessageInput/VoiceRecording.svelte +++ b/src/lib/components/chat/MessageInput/VoiceRecording.svelte @@ -11,6 +11,7 @@ const dispatch = createEventDispatcher(); export let recording = false; + export let className = ' p-2.5 w-full max-w-full'; let loading = false; let confirmed = false; @@ -282,7 +283,7 @@
+
+
+ {#if voiceInput} +
+ { + voiceInput = false; + }} + on:confirm={(e) => { + const response = e.detail; + content = `${content}${response} `; + + voiceInput = false; + }} + /> +
+ {:else} + + + + {/if} +
+ +
+ + + +