@@ -1397,7 +1444,9 @@ export function Chat({ sessionId, placeholder }: ChatProps) {
aria-label="Attach and tools"
aria-expanded={plusOpen}
>
-
+ {enhancing
+ ?
+ :
}
{plusOpen && (
@@ -1429,6 +1478,7 @@ export function Chat({ sessionId, placeholder }: ChatProps) {
className={`${styles.micCombo}${isListening ? ` ${styles.micComboActive}` : ''}`}
title={isListening ? 'Stop listening' : 'Voice input'}
onClick={toggleListening}
+ disabled = {enhancing}
>
{isListening ? : }
@@ -1476,7 +1526,7 @@ export function Chat({ sessionId, placeholder }: ChatProps) {
type="button"
className={styles.sendBtn}
onClick={handleSend}
- disabled={(!input.trim() && pendingAttachments.length === 0) || !attachmentValidation.valid}
+ disabled={(!input.trim() && pendingAttachments.length === 0) || !attachmentValidation.valid || enhancing}
title="Send"
aria-label="Send message"
>