continue icon indicating copy to clipboard operation
continue copied to clipboard

Cannot use @Codebase: file was not found locally ... models/all-MiniLM-L6-v2/tokenizer.json

Open w013nad opened this issue 1 year ago • 7 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 11
- Continue:0.9.158
- IDE: VSCode 1.70.2

Description

This appears to be the same issue from #895 which was fixed in February but I appear to be having the same issues now with the latest versions.

To reproduce

  1. Start Continue
  2. During the embedding process error happens

Log output

Error indexing codebase: Error. local_files_only=true or 'env.allowRemoteModels=false' and file was not found locally at "C:\Users\ndurkee\.vscode\extensions\continue-continue-0.9.158-win32-x64\models\all-MiniLM-L6-v2\tokenizer.json".

w013nad avatar Jun 13 '24 18:06 w013nad

For @codebase you can work around the issue by using nomic-embed-text embeddings provider from ollama. However, @docs indexing seems to ignore that setting.

I am getting a very similar error message on macos and IntelliJ with continue v0.0.50, even when downloading the tokenizer from hugging face manually and placing it at that exact path:

Error: `local_files_only=true` or `env.allowRemoteModels=false` and file was not found locally at "/snapshot/continue-deploy/binary/models/all-MiniLM-L6-v2/tokenizer.json".

neominik avatar Jun 17 '24 14:06 neominik

How this issue progresses?

LeoLiuYan avatar Jun 19 '24 13:06 LeoLiuYan

I am facing the sample issue as well!! 螢幕截圖 2024-06-24 上午12 32 21

nggary avatar Jun 23 '24 16:06 nggary

Help me i faced the same issue

buzzlightyear2k avatar Jun 24 '24 08:06 buzzlightyear2k

Guys, if you are using Intellji, please use local ollama with nomic-embed-text as embeddingsProvider

Revise your config.json to

"embeddingsProvider": {
  "provider": "ollama",
  "model": "nomic-embed-text",
  "apiBase": "http://localhost:11434"
},

nggary avatar Jun 25 '24 03:06 nggary

Guys, if you are using Intellji, please use local ollama with nomic-embed-text as embeddingsProvider

Revise your config.json to

"embeddingsProvider": {
  "provider": "ollama",
  "model": "nomic-embed-text",
  "apiBase": "http://localhost:11434"
},

That works for most things, but not for @docs, unfortunately.

neominik avatar Jun 25 '24 06:06 neominik

I'm getting the same issue with IntelliJ Ultimate 2024.1 on Windows with Continue 0.0.55. Unfortunately using ollama is not an option to work around.

tmibkr avatar Jul 24 '24 06:07 tmibkr

I am on the most current RustRover Linux (.tar.gz install) and I have the same error with the most current continue version. I am using the groq API and not ollama. What is the actual issue? Would rebuilding continue with the change in ./extensions/vscode/models/all-MiniLM-L6-v2/tokenizer.json help? (it says vscode, I am on RustRover, so not sure the error is actually correct).

This bug makes it impossible for me to effectively use the tool and it seems to be around for 9 months now - is there any hope this will get a fix? @RomneyDa @Patrick-Erichsen

vanhauser-thc avatar Feb 14 '25 09:02 vanhauser-thc

@vanhauser-thc - this should be fixed with some recent commits by @RomneyDa , would you mind pulling down the latest version and seeing if things work for you?

Patrick-Erichsen avatar Mar 04 '25 02:03 Patrick-Erichsen

@Patrick-Erichsen yes this works now for me, thanks!

vanhauser-thc avatar Mar 04 '25 12:03 vanhauser-thc

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Aug 06 '25 02:08 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Aug 18 '25 02:08 github-actions[bot]