don't overwrite all models in onboarding
This commit is contained in:
parent
06da0caf28
commit
6f8528a534
2 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,7 @@ export function setupLocalMode(
|
|||
provider: "ollama",
|
||||
model: "AUTODETECT",
|
||||
},
|
||||
...config.models.filter((model) => model.provider !== "free-trial"),
|
||||
],
|
||||
tabAutocompleteModel: {
|
||||
title: "Starcoder 3b",
|
||||
|
|
|
|||
|
|
@ -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 [];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue