Spaces:
Paused
Paused
Update index.js
Browse files535 unmodified lines536537538539540541542535 unmodified lines}}if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) {console.log("进入了");const searchResults = await Utils.organizeSearchResults(linejosn.webSearchResults);const responseData = MessageProcessor.createChatResponse(`<thinking>\r\n${searchResults}\r\n</thinking>\r\n`, model, true);res.write(`data: ${JSON.stringify(responseData)}\n\n`);535 unmodified lines536537538539540541535 unmodified lines}}if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) {const searchResults = await Utils.organizeSearchResults(linejosn.webSearchResults);const responseData = MessageProcessor.createChatResponse(`<thinking>\r\n${searchResults}\r\n</thinking>\r\n`, model, true);res.write(`data: ${JSON.stringify(responseData)}\n\n`);
index.js-1