diff --git a/wwwroot/js/chat.js b/wwwroot/js/chat.js index 4e67f6f..eda4923 100644 --- a/wwwroot/js/chat.js +++ b/wwwroot/js/chat.js @@ -319,6 +319,7 @@ async function _runStream(fetchPromise) { // ── Send Message ── async function sendMessage() { + if (isStreaming) return; const input = $('#input'); const text = input.value.trim(); if (!text && pendingFiles.length === 0 && pendingRefs.length === 0) return;