Spaces:
Running
Running
Update static/digiyatra.html
Browse files- static/digiyatra.html +4 -2
static/digiyatra.html
CHANGED
@@ -340,10 +340,12 @@
|
|
340 |
} else {
|
341 |
rawResponse += chunk;
|
342 |
}
|
343 |
-
|
|
|
344 |
rawResponse = rawResponse.replace(/<interact>[\s\S]*?<\/interact>/g, '');
|
|
|
345 |
rawResponse = rawResponse.replace(/<\/?response>/g, '');
|
346 |
-
|
347 |
const markdownLinkRegex = /\[([^\]]+)\]\(([^\)]+)\)/g;
|
348 |
|
349 |
const embedYouTube = (url) => {
|
|
|
340 |
} else {
|
341 |
rawResponse += chunk;
|
342 |
}
|
343 |
+
|
344 |
+
rawResponse = rawResponse.replace(/<tools>[\s\S]*?<\/tools>/g, '');
|
345 |
rawResponse = rawResponse.replace(/<interact>[\s\S]*?<\/interact>/g, '');
|
346 |
+
rawResponse = rawResponse.replace(/<tool>[\s\S]*?<\/tool>/g, '');
|
347 |
rawResponse = rawResponse.replace(/<\/?response>/g, '');
|
348 |
+
console.log(rawResponse)
|
349 |
const markdownLinkRegex = /\[([^\]]+)\]\(([^\)]+)\)/g;
|
350 |
|
351 |
const embedYouTube = (url) => {
|