New Qwen FIM multi file template #3589
Labels
area:autocomplete
Relates to the auto complete feature
good-first-issue
Suggested issue for new contributors
kind:enhancement
Indicates a new feature request, imrovement, or extension
"needs-triage"
Validations
Problem
Pasted from Discord:
Hi, a few days ago I implemented a template in my local Continue clone which correctly uses repository-level autocompletion for Qwen templates, a bit like the Codestral template.
Snippet: https://gist.github.com/DanielusG/ff4c2d008673e75bdd31bba6a81c6f07
Insert the snippet in AutocompleteTemplate.ts and replace the template in the funciton getTemplateForModel
I have used it daily for several days and it seems to work quite well. I think it's not the best way to implement it since I used a special token created by me and then did a split, but I did it in a short time, and I honestly wouldn't want to create a pull request to implement a ‘’janky‘’ code
However, I wanted to share it in case anyone wanted to improve or implement it as it is.
Source to FIM repository level template for Qwen: QwenLM/Qwen2.5-Coder#25 (comment)
Solution
The text was updated successfully, but these errors were encountered: