Skip to content

Commit

Permalink
Merge pull request #3105 from JoelEinbinder/remove_stop_words
Browse files Browse the repository at this point in the history
chore: remove dead stopWords code
  • Loading branch information
sestinj authored Nov 28, 2024
2 parents 10d18bc + 5f58b66 commit abac727
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
1 change: 0 additions & 1 deletion core/autocomplete/constants/AutocompleteLanguageInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export interface AutocompleteLanguageInfo {
topLevelKeywords: string[];
singleLineComment?: string;
endOfLine: string[];
stopWords?: string[];
lineFilters?: LineFilter[];
charFilters?: CharacterFilter[];
useMultiline?: (args: { prefix: string; suffix: string }) => boolean;
Expand Down
46 changes: 0 additions & 46 deletions core/autocomplete/context/NearbyDefinitionsService.ts

This file was deleted.

1 change: 0 additions & 1 deletion core/autocomplete/templating/getStopTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export function getStopTokens(
...(model.toLowerCase().includes("starcoder2")
? STARCODER2_T_ARTIFACTS
: []),
...(lang.stopWords ?? []),
// ...lang.topLevelKeywords.map((word) => `\n${word}`),
];

Expand Down

0 comments on commit abac727

Please sign in to comment.