twinnydotdev / twinny

The most no-nonsense, locally or API-hosted AI code completion plugin for Visual Studio Code - like GitHub Copilot but completely free and 100% private.
https://twinny.dev
MIT License
2.3k stars 126 forks source link

Wrong language: getting python suggestions in Javascript file #225

Closed Lastofthefirst closed 2 months ago

Lastofthefirst commented 2 months ago

Describe the bug The auto complete suggestions I get are in python in a javascript or rust file, even if I have valid javascript or rust already written in the file.

Screenshots

Screenshot_20240425_181055

Desktop

Additional context I am using codellama 7b

rjmacarthy commented 2 months ago

Hello, please try to turn on the use file context option and try again. Edit, I just released a fix which will always provide the heading and the language even if file context is disabled. Many thanks. fd3655e7aedd3a6280efeb8f5a27da16d17aeb16