Update index.js
Browse files32 unmodified lines3334353636373839496 unmodified lines53653753853954054154232 unmodified lines CHROME_PATH: process.env.CHROME_PATH || "/usr/bin/chromium"//chrome路径};
console.log("搜索结果是否开启:",CONFIG.ISSHOW_SEARCH_RESULTS);//console.log("搜索结果是否开启:",CONFIG.ISSHOW_SEARCH_RESULTS);// 请求头配置const DEFAULT_HEADERS = { 'accept': '*/*',496 unmodified lines } } if (linejosn.response === "webSearchResults" && CONFIG.ISSHOW_SEARCH_RESULTS) { console.log("搜索结果是否开启:",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);index.js+2-1