Before submitting your bug report
Relevant environment info
- OS:
- Continue version:
- IDE version:
- Model:
- config:
OR link to agent in Continue hub:
Description
When using autocomplete in VS Code with Continue.dev and qwen2.5-coder:7b via Ollama, the generated completion frequently results in syntax errors.
The model often:
- Leaves unclosed brackets ({, ()
- Duplicates closing braces (})
- e.t.c
Config:
- name: qwen2.5-coder:7b
provider: ollama
model: qwen2.5-coder:7b
roles:
- autocomplete
defaultCompletionOptions:
temperature: 0.3
contextLength: 16000
autocompleteOptions:
useCache: true
useImports: true
useRecentlyEdited: true
useRecentlyOpened: true
maxPromptTokens: 2048
prefixPercentage: 0.7
maxSuffixPercentage: 0.3
Any suggestions how to fix this ?
To reproduce
No response
Log output
Before submitting your bug report
Relevant environment info
Description
When using autocomplete in VS Code with Continue.dev and qwen2.5-coder:7b via Ollama, the generated completion frequently results in syntax errors.
The model often:
Config:
provider: ollama
model: qwen2.5-coder:7b
roles:
defaultCompletionOptions:
temperature: 0.3
contextLength: 16000
autocompleteOptions:
useCache: true
useImports: true
useRecentlyEdited: true
useRecentlyOpened: true
maxPromptTokens: 2048
prefixPercentage: 0.7
maxSuffixPercentage: 0.3
Any suggestions how to fix this ?
To reproduce
No response
Log output