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 neongreen-sc opened this issue 1 year ago • 1 comments

Before submitting your bug report

Relevant environment info

- OS: Windows 10
- Continue: 0.9.71
- IDE: VSCode 1.78.2

Description

When asking any question with @Codebase, I get:

Error getting context items from codebase: Error: `local_files_only=true` or `env.allowRemoteModels=false` and file was not found locally at "c:\Users\[...]\.vscode\extensions\continue.continue-0.9.71-win32-x64\out/../models/all-MiniLM-L6-v2/tokenizer.json".

I checked and the file actually exists.

To reproduce

No response

Log output

[Extension Host] Unable to load from local path "c:\Users\[...]\.vscode\extensions\continue.continue-0.9.71-win32-x64\out/../models/all-MiniLM-L6-v2/config.json": "ReferenceError: Headers is not defined"
I @ console.ts:137

notificationsAlerts.ts:42 Error getting context items from codebase: Error: `local_files_only=true` or `env.allowRemoteModels=false` and file was not found locally at "c:\Users\[...]\.vscode\extensions\continue.continue-0.9.71-win32-x64\out/../models/all-MiniLM-L6-v2/tokenizer.json".
c @ notificationsAlerts.ts:42

neongreen-sc avatar Feb 26 '24 15:02 neongreen-sc

@neongreen-sc thanks for bringing this up! I just fixed here, but will wait to close this issue until it's been fully released and verified to work

sestinj avatar Feb 26 '24 16:02 sestinj

I've noticed this on the IntelliJ plugin as well

JaredEzz avatar Jul 02 '24 22:07 JaredEzz