🐛 use same starcoder template for starcoder2

This commit is contained in:
Nate Sesti 2024-03-11 20:42:25 -07:00
parent bc88a46d3f
commit 36f62daa66

View file

@ -91,9 +91,9 @@ The last line is incomplete, and you should provide the rest of that line. If th
export function getTemplateForModel(model: string): AutocompleteTemplate {
const lowerCaseModel = model.toLowerCase();
if (lowerCaseModel.includes("starcoder2")) {
return starcoder2FimTemplate;
}
// if (lowerCaseModel.includes("starcoder2")) {
// return starcoder2FimTemplate;
// }
if (
lowerCaseModel.includes("starcoder") ||