Spaces:
Paused
Paused
Update index.js
Browse files
index.js
CHANGED
|
@@ -536,7 +536,6 @@ async function handleStreamResponse(response, model, res) {
|
|
| 536 |
}
|
| 537 |
}
|
| 538 |
if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) {
|
| 539 |
-
console.log("进入了");
|
| 540 |
const searchResults = await Utils.organizeSearchResults(linejosn.webSearchResults);
|
| 541 |
const responseData = MessageProcessor.createChatResponse(`<thinking>\r\n${searchResults}\r\n</thinking>\r\n`, model, true);
|
| 542 |
res.write(`data: ${JSON.stringify(responseData)}\n\n`);
|
|
|
|
| 536 |
}
|
| 537 |
}
|
| 538 |
if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) {
|
|
|
|
| 539 |
const searchResults = await Utils.organizeSearchResults(linejosn.webSearchResults);
|
| 540 |
const responseData = MessageProcessor.createChatResponse(`<thinking>\r\n${searchResults}\r\n</thinking>\r\n`, model, true);
|
| 541 |
res.write(`data: ${JSON.stringify(responseData)}\n\n`);
|