continue
continue copied to clipboard
Error getting context items from codebase: Error: SQLITE_ERROR: no such table: lance_db_cache
Before submitting your bug report
- [X] I believe this is a bug. I'll try to join the Continue Discord for questions
- [X] I'm not able to find an open issue that reports the same bug
- [X] I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS:Linux Mint 22
- Continue:0.9.214
- IDE:VsCode 1.94
- Model:Gemini 1.5 Flash
- config.json:
{
"models": [
{
"title": "Gemini 1.5 Flash",
"model": "gemini-1.5-flash-latest",
"contextLength": 1000000,
"provider": "gemini"
}
],
"tabAutocompleteModel": {
"title": "Codestral",
"provider": "mistral",
"model": "codestral-latest"
},
"embeddingsProvider": {
"provider": "voyage",
"model": "voyage-code-2",
},
"reranker": {
"name": "voyage",
"params": {
"model": "rerank-1"
}
},
"contextProviders": [
{
"name": "open"
},
{
"name": "codebase",
"params": {
"nRetrieve": 25,
"nFinal": 5,
"useReranking": true
}
}
]
}
Description
Whenever I run a query using the @codebase tag Continue is unable to retrieve any contextual information. It fails with the error - Error getting context items from codebase: Error: SQLITE_ERROR: no such table: lance_db_cache
I know some of you getting sick of this error again, but its still happen. I love using continue, this is the only reason i keep coming back to codeium. I thought this error already disappear soon. But it still exist. What i have tried so far: -) continue.dev stable and pre-release version. -) embedding model i tried: voyage-code-2, transformers.js -) turn off and on reranking
To reproduce
- Open the Continue.dev panel
- Ensure indexing is up to date (you can click the force index button to ensure this)
- Run @codebase tell me about this code It will fail.
Log output
[Extension Host] Error retrieving from FTS: Error: SQLITE_ERROR: no such table: fts
--> in Database#all('SELECT fts_metadata.chunkId, fts_metadata.path, fts.content, rank\n' +
' FROM fts\n' +
' JOIN fts_metadata ON fts.rowid = fts_metadata.id\n' +
' JOIN chunk_tags ON fts_metadata.chunkId = chunk_tags.chunkId\n' +
` WHERE fts MATCH '"review" OR "my" OR "code"' AND chunk_tags.tag IN (?)\n` +
' \n' +
' ORDER BY rank\n' +
' LIMIT ?', [ '/home/Desktop/tmp/vite/xxx::NONE::chunks', 25 ], [Function (anonymous)])
at new Promise (<anonymous>)
[Extension Host] Table not found in LanceDB homeDesktoptmpvitexxxNONEvectordb_TransformersJsEmbeddingsProviderall-MiniLM-L6-v2
Error getting context items from codebase: Error: SQLITE_ERROR: no such table: lance_db_cache