Regression: embeddings model always overridden by 'UNSPECIFIED'
Closed this issue · 1 comments
fbricon commented
Before submitting your bug report
- I believe this is a bug. I'll try to join the Continue Discord for questions
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Relevant environment info
- OS: MacOS Sequoia 15.1.1
- Continue version: built from d7ef0a3b1
- IDE version: VS Code 1.95.3
- Model: nomic-embed-text
- config.json:
"embeddingsProvider": {
"provider": "ollama",
"model": "nomic-embed-text:latest",
"title": "nomic-embed-text:latest"
},
Description
5a1bb2d introduced a regression where embeddings model is always overridden with UNSPECIFIED, preventing proper indexing:
Leading to plenty of errors like:
HTTP 404 Not Found from http://127.0.0.1:11434/api/embed
The model "UNSPECIFIED" was not found. To download it, run `ollama run UNSPECIFIED`.
Code: undefined
Error number: undefined
Syscall: undefined
Type: undefined
Error: HTTP 404 Not Found from http://127.0.0.1:11434/api/embed
The model "UNSPECIFIED" was not found. To download it, run `ollama run UNSPECIFIED`.
at customFetch2 (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:107256:21)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async withExponentialBackoff (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:103272:26)
at async Ollama._embed (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:115804:22)
at async /Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:107584:24
at async withExponentialBackoff (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:103272:26)
at async /Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:107575:32
at async Promise.all (index 0)
at async Ollama.embed (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:107570:17)
at async LanceDbIndex.getEmbeddings (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:219632:18)
at async LanceDbIndex.computeRows (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:219582:28)
at async LanceDbIndex.update (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:219738:24)
at async CodebaseIndexer.indexFiles (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:612346:39)
at async CodebaseIndexer.refreshDirs (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:612218:30)
at async Core.refreshCodebaseIndex (/Users/fbricon/Dev/souk/continue/extensions/vscode/out/extension.js:613824:26)
extensionHostProcess.js:162
To reproduce
No response
Log output
No response
satlus commented
I'm seeing this error when switching to the pre-release version from the vs code extension page (v0.9.243), had to roll back.