Spaces:
Paused
Paused
matt HOFFNER
commited on
Commit
·
6188060
1
Parent(s):
f1b9d1c
temp
Browse files
src/app/search/web/page.jsx
CHANGED
@@ -14,7 +14,7 @@ export default function WebSearchPage({ searchParams }) {
|
|
14 |
useEffect(() => {
|
15 |
|
16 |
// No need to make a fetch request. Directly open the EventSource connection.
|
17 |
-
const es = new EventSource(`/api/llm?question=${searchTerm}`);
|
18 |
console.log(es);
|
19 |
setEventSource(es);
|
20 |
|
|
|
14 |
useEffect(() => {
|
15 |
|
16 |
// No need to make a fetch request. Directly open the EventSource connection.
|
17 |
+
const es = new EventSource(`/api/llm?question=${searchTerm || "Seattle activities this weekend"}`);
|
18 |
console.log(es);
|
19 |
setEventSource(es);
|
20 |
|