uerySelector('#send');
        const modelResponseDiv = document.querySelector('#model-response');

        sendButton.addEventListener('click', () => {
            aiContentDiv.classList.remove('hidden');
            modelResponseDiv.textContent = '';

            const userPrompt = userInputTextArea.value.trim();
            if (userPrompt.length === 0) {
                return;
            }

            // Build an EventSource object to the prompt endpoint, passing the user's input as the
            //