don't overwrite all models in onboarding

This commit is contained in:
Nate Sesti 2024-05-20 14:52:29 -07:00
parent 06da0caf28
commit 6f8528a534
2 changed files with 2 additions and 0 deletions

View file

@ -82,6 +82,7 @@ export function setupLocalMode(
provider: "ollama",
model: "AUTODETECT",
},
...config.models.filter((model) => model.provider !== "free-trial"),
],
tabAutocompleteModel: {
title: "Starcoder 3b",

View file

@ -321,6 +321,7 @@ export class LanceDbIndex implements CodebaseIndex {
const tableName = this.tableNameForTag(tag);
const tableNames = await db.tableNames();
if (!tableNames.includes(tableName)) {
console.warn("Table not found in LanceDB", tableName);
return [];
}