Skip to content

Commit

Permalink
enabled llm
Browse files Browse the repository at this point in the history
  • Loading branch information
Endle committed Aug 31, 2024
1 parent 415e8cf commit 15aa8cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions fireSeqSearch_addon/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,9 @@ async function processLlmSummary(serverInfo, parsedSearchResult) {
// TODO remove hard code port
const llm_api = "http://127.0.0.1:3030/summarize/" + record.title;
console.log(record.title);
/*
const response = await fetch(llm_api);
const text = await response.text();
console.log(text);
*/
}
}

Expand All @@ -259,7 +257,7 @@ async function mainProcess(fetchResultArray) {

if (serverInfo.llm_enabled) {
consoleLogForDebug("llm");
//processLlmSummary(serverInfo, parsedSearchResult);
processLlmSummary(serverInfo, parsedSearchResult);
}
}

Expand Down

0 comments on commit 15aa8cd

Please sign in to comment.