Spaces:
Runtime error
Runtime error
Update index.html
Browse files- index.html +1 -1
index.html
CHANGED
|
@@ -169,7 +169,7 @@
|
|
| 169 |
// });
|
| 170 |
|
| 171 |
var xhr = new XMLHttpRequest();
|
| 172 |
-
xhr.open("POST", '/
|
| 173 |
xhr.setRequestHeader('Content-Type', 'application/json');
|
| 174 |
xhr.send(JSON.stringify({
|
| 175 |
query: userInput
|
|
|
|
| 169 |
// });
|
| 170 |
|
| 171 |
var xhr = new XMLHttpRequest();
|
| 172 |
+
xhr.open("POST", '/agent/chat/suggestion', true);
|
| 173 |
xhr.setRequestHeader('Content-Type', 'application/json');
|
| 174 |
xhr.send(JSON.stringify({
|
| 175 |
query: userInput
|