continue
continue copied to clipboard
Completions in scratch file always suggest `import random`
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: mac 14.5
- Continue: 0.8.51
- IDE: Positron 2024.09.0 (Universal) build 27
- Model: codestral-latest
Description
In a scratch (i.e. freshly opened and never saved file), continue always suggests import random or import Javas.util.Scanner, regardless of the language of the file, and in places where the suggesting is clearly in appropriate
To reproduce
- Open a new file
- Change the language to R
- Type
1 + 1and press enter - Type
2 + 2and wait for autocomplete to trigger
Log output
I cleared the llm prompt/completion log before the reproducible example, and nothing was added to the log.