continuedev / continue

⏩ Continue is the leading open-source AI code assistant. You can connect any models and any context to build custom autocomplete and chat experiences inside VS Code and JetBrains
https://docs.continue.dev/
Apache License 2.0
19.52k stars 1.7k forks source link

The continue plugin has been initializing...... #1514

Open shuaiFLYINTHESKY opened 5 months ago

shuaiFLYINTHESKY commented 5 months ago

Before submitting your bug report

Relevant environment info

- OS: macos 14.4.1
- Continue: 0.8.27
- IDE: vs code 1.90.1
- Ollama 0.1.44

I use VS Code + Ubuntu server, remote ssh mode of development.
The project is huge, according to incomplete statistics there are 30579 directories, 184726 files. 

  "models": [
    {
      "title": "ollama-codeqwen:7b-chat-v1.5-q8_0",
      "provider": "ollama",
      "model": "codeqwen:7b-chat-v1.5-q8_0",
      "contextLength": 8192,
      "temperature": 0
    }]

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

Description

The continue plugin has been initializing... No files in any of the project directories are actually indexed, so features like @folder and @files are not available.

The official document method similar to exclude https://docs.continue.dev/walkthroughs/codebase-embeddings#customizing-which-files-are-indexed mentioned way, there is no include method.

I'm trying to ~/continue/index/index.splite looked at the indexfile, some files have not been indexed, regardless of the file size.

image

To reproduce

No response

Log output

workbench.desktop.main.js:sourcemap:152 [Extension Host] EntryNotFound (FileSystemError): Unable to resolve nonexistent file 'vscode-remote://ssh-remote/home/ubuntu/gerde/it17.main/.prompts'
    at y.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:6797)
    at Object.readDirectory (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:4081)
    at async traverseDirectory (/Users/chr/.vscode/extensions/continue/out/extension.js:369145:17)
    at async _VsCodeIdeUtils.getDirectoryContents (/Users/chr/.vscode/extensions/continue/out/extension.js:369442:26)
    at async VsCodeIde.listWorkspaceContents (/Users/chr/.vscode/extensions/continue/out/extension.js:369825:18)
    at async getPromptFiles (/Users/chr/.vscode/extensions/continue/out/extension.js:344431:19)
    at async Promise.all (index 0)
    at async serializedToIntermediateConfig (/Users/chr/.vscode/extensions/continue/out/extension.js:344579:24)
    at async loadFullConfigNode (/Users/chr/.vscode/extensions/continue/out/extension.js:344845:22)
    at async ConfigHandler.loadConfig (/Users/chr/.vscode/extensions/continue/out/extension.js:344969:28)
    at async ConfigHandler.getSerializedConfig (/Users/chr/.vscode/extensions/continue/out/extension.js:344952:30)
    at async /Users/chr/.vscode/extensions/continue/out/extension.js:366811:18
    at async a.value (/Users/chr/.vscode/extensions/continue/out/extension.js:367260:32)
w @ workbench.desktop.main.js:sourcemap:152
workbench.desktop.main.js:sourcemap:152 [Extension Host] stack trace: EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, stat '/home/ubuntu/gerde/it17.main/na/res/CN/BE'
    at y.e (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:6797)
    at Object.stat (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:152:3892)
    at async /Users/chr/.vscode/extensions/continue/out/extension.js:369790:25
    at async Promise.all (index 16549)
    at async VsCodeIde.getStats (/Users/chr/.vscode/extensions/continue/out/extension.js:369788:9)
    at async CodebaseIndexer.refresh (/Users/chr/.vscode/extensions/continue/out/extension.js:345105:25)
    at async _VsCodeExtension.refreshCodebaseIndex (/Users/chr/.vscode/extensions/continue/out/extension.js:370658:26)
shuaiFLYINTHESKY commented 5 months ago

Add: ssh way development, file path is valid, the file exists.

LeoLiuYan commented 5 months ago

+1

trathailoi commented 5 months ago

+1

Screenshot 2024-06-23 at 18 53 15
shuaiFLYINTHESKY commented 5 months ago

+1 截图 2024-06-23 18 53 15

hello, which version are you using?