remove commented snippet filtering and reversing logic in AutocompleteTemplate.ts
This commit is contained in:
parent
d282974c34
commit
d80dbff7a7
1 changed files with 0 additions and 5 deletions
|
|
@ -102,11 +102,6 @@ const codestralMultifileFimTemplate: AutocompleteTemplate = {
|
|||
return [prefix, suffix];
|
||||
}
|
||||
|
||||
//snippets = snippets.filter((snippet) => "filepath" in snippet);
|
||||
|
||||
// reverse the snippets so that the most recent snippet is last
|
||||
snippets = [...snippets].reverse();
|
||||
|
||||
const relativePaths = getShortestUniqueRelativeUriPaths(
|
||||
[
|
||||
...snippets.map((snippet) =>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue