continue
continue copied to clipboard
Autocomplet: missing context from other functions causing faulty suggestions on function calling
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: Windows
- Continue version: 1.0.13
- IDE version: intellij ultimate 2025.1
- Model: Qwen2.5-Coder-1.5B
- config:
: Local Assistant
version: 1.0.0
schema: v1
models:
- name: nomic-embed-text
provider: ollama
model: nomic-embed-text
roles:
- embed
apiBase: https://ollama.xx.xx/
apiKey: ''
- name: Qwen2.5-Coder-1.5B
provider: vllm
model: Qwen/Qwen2.5-Coder-1.5B
roles:
- autocomplete
apiBase: https://vllm.xx.xx/v1
apiKey: ''
defaultCompletionOptions:
contextLength: 32768
- name: Qwen2.5-Coder-14B-Instruct-fp16
provider: ollama
model: qwen2.5-coder:14b-instruct-fp16
roles:
- chat
- edit
- apply
apiBase: https://ollama.xx.xx/
apiKey: ''
context:
- provider: code
- provider: docs
- provider: diff
- provider: terminal
- provider: problems
- provider: folder
- provider: codebase
Description
I have just create a simple application in java which references a calculator class to do addition with 3 variables. However the autocompete suggestion only gives you 2 variables which then will of course fail to compile. Looking at the prompt logs it seems like no code from the calculator class is included in the prompt which it should?
To reproduce
Log output