Spaces:
Sleeping
Sleeping
Update index.js
Browse files
index.js
CHANGED
@@ -536,6 +536,7 @@ async function handleStreamResponse(response, model, res) {
|
|
536 |
}
|
537 |
}
|
538 |
if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) {
|
|
|
539 |
console.log("搜索结果是否开启:",CONFIG.ISSHOW_SEARCH_RESULTS);
|
540 |
console.log("显示搜索结果");
|
541 |
const searchResults = await Utils.organizeSearchResults(linejosn.webSearchResults);
|
|
|
536 |
}
|
537 |
}
|
538 |
if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) {
|
539 |
+
console.log("搜索结果判断:",linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS);
|
540 |
console.log("搜索结果是否开启:",CONFIG.ISSHOW_SEARCH_RESULTS);
|
541 |
console.log("显示搜索结果");
|
542 |
const searchResults = await Utils.organizeSearchResults(linejosn.webSearchResults);
|