Spaces:
Paused
Paused
Update scripts/chat.js
Browse files32 unmodified lines3334353637383932 unmodified lineschatMessages.scrollTop = chatMessages.scrollHeight;// 3. Fetch the real responseconst workerUrl = 'https://stream-ai-backend.smplushypermedia.workers.dev/'; // <-- Make sure your URL is heretry {const response = await fetch(workerUrl, {32 unmodified lines3334353637383932 unmodified lineschatMessages.scrollTop = chatMessages.scrollHeight;// 3. Fetch the real responseconst workerUrl = 'https://stream-ai-backend.smplushypermedia.workers.dev/api/chat'; // <-- Make sure your URL is heretry {const response = await fetch(workerUrl, {
scripts/chat.js+1-1