enh: voice input support for knowledge text content

This commit is contained in:
Timothy J. Baek
2024-10-20 01:49:44 -07:00
parent b9b670fcfb
commit 05c18cd664
4 changed files with 83 additions and 9 deletions

View File

@@ -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 @@
<div
class="{loading
? ' bg-gray-100/50 dark:bg-gray-850/50'
: 'bg-indigo-300/10 dark:bg-indigo-500/10 '} rounded-full flex p-2.5"
: 'bg-indigo-300/10 dark:bg-indigo-500/10 '} rounded-full flex {className}"
>
<div class="flex items-center mr-1">
<button