continue
continue copied to clipboard
Continue fails autocomplete on remote files
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
- Continue: 0.8.15
- IDE: VSCode 1.87.2
There's an Uncaught error in Runtime Status:
`Cannot read properties of undefined (reading 'repository')`
Description
When working on a remote project, opened through remote-ssh, I am getting when trying to autocomplete:
Unable to read file '/home/pmatos/dev/Foo/Stack.cpp' (Error: Unable to resolve nonexistent file '/home/pmatos/dev/Foo/Stack.cpp')
My file does not indeed exist locally, which is where I assume Continue is looking for it but only remotely.
To reproduce
- Setup autocomplete with continue.
- Open remote project
- Start typing
- autocomplete fails.
Log output
No response
@pmatos Is this still happening on the latest version of Continue (0.8.23) and pre-release? (0.9.x)
@sestinj This problem also happens to me while working with vscode running on windows with a repo inside WSL. I still get the tab autocompletions, but I get the popup with the non-existent file error intermittently. My completions are also always single-line despite setting multiline to "always" in the config, maybe this has something to do with that. I'm using ollama for tab completions and embeddings, and openai for interactive use.
@pmatos In case you're still having this issue, I'll add here what I mentioned on #1099 that fixed this issue for me among others while using WSL. Since WSL is remote vscode, this solution might solve your problem as well. No credit to me, it came from the Discord.
"remote.extensionKind": {
"continue.continue": [
"workspace"
]
}
@pmatos In case you're still having this issue, I'll add here what I mentioned on #1099 that fixed this issue for me among others while using WSL. Since WSL is remote vscode, this solution might solve your problem as well. No credit to me, it came from the Discord.
"remote.extensionKind": { "continue.continue": [ "workspace" ] }
Thanks - is this for vscode settings?
@pmatos In case you're still having this issue, I'll add here what I mentioned on #1099 that fixed this issue for me among others while using WSL. Since WSL is remote vscode, this solution might solve your problem as well. No credit to me, it came from the Discord.
"remote.extensionKind": { "continue.continue": [ "workspace" ] }Thanks - is this for vscode settings?
Confirmed - it is. :)
@pmatos In case you're still having this issue, I'll add here what I mentioned on #1099 that fixed this issue for me among others while using WSL. Since WSL is remote vscode, this solution might solve your problem as well. No credit to me, it came from the Discord.
"remote.extensionKind": { "continue.continue": [ "workspace" ] }Thanks - is this for vscode settings?
Confirmed - it is. :)
But it's still not working. Are there any debugging logs for these issues in Continue that I can look at?
Just chiming in to add one of my colleagues had this issue (Windows host to Linux remote), after switching to the latest prerelease and configurig https://github.com/continuedev/continue/issues/1107#issuecomment-2058037393, this solved the issue for him.
I'm hitting a similar problem using code-server.
I have tab autocomplete disabled but I'm still getting errors
Unable to resolve nonexistent file 'vscode-remote://localhost:11080/home/user/git_wolfi-dev'
I tried editing remote settings.json
{
"remote.extensionKind": {
"continue.continue": [
"workspace"
]
}
}
Continue.dev stopped working altogether. Concretely the left hand chat panel stopped working.
This is a very old issue. Please confirm that the original problem still happens with current Pre-Release 0.9.196 (or the next stable version >= 0.8.46, if it got released in the meantime).
I'm using v0.8.45.