Skip to content

Commit f7ea449

Browse files
authored
Change similarity threshold
1 parent 440864d commit f7ea449

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

background.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function isDifferentResponse(originalText, modifiedText) {
111111
);
112112

113113
// Set a threshold for similarity; responses with similarity below this threshold are considered different
114-
const similarityThreshold = 0.93;
114+
const similarityThreshold = 0.90;
115115

116116
// Return true if the similarity is below the threshold
117117
return similarity < similarityThreshold;
@@ -174,4 +174,4 @@ chrome.tabs.onUpdated.addListener(async (tabId, changeInfo, tab) => {
174174

175175
// Expose getModifiedUrls and clearModifiedUrls functions to popup
176176
window.getModifiedUrls = getModifiedUrls;
177-
window.clearModifiedUrls = clearModifiedUrls;
177+
window.clearModifiedUrls = clearModifiedUrls;

0 commit comments

Comments
 (0)