diff --git a/src/App.jsx b/src/App.jsx
index 8ad3106..eae8ff7 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -2558,6 +2558,27 @@ async function createNewChat() {
removable
onRemove={removeComposerAttachment}
/>
+ {(isRecordingAudio || isTranscribingAudio) && (
+
+ {isRecordingAudio ? (
+
+ ) : (
+
+ )}
+
+ {isRecordingAudio
+ ? `Listening ${formatRecordingDuration(audioRecordingMs)}`
+ : 'Transcribing audio…'}
+
+
+ )}
setInput(e.target.value)}
onKeyDown={e => {
- if (e.key === 'Enter' && !e.shiftKey) {
+ if (e.key === 'Enter' && !e.shiftKey && !isRecordingAudio && !isTranscribingAudio) {
e.preventDefault();
sendMessage();
}
@@ -2658,6 +2679,43 @@ async function createNewChat() {
)}
+ {audioInputEnabled && (
+
+ )}