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.93k stars 153 forks source link

FIM doesn't work with Keep Alive = -1 #246

Closed anaseinea closed 4 months ago

anaseinea commented 4 months ago

Describe the bug FIM doesn't work with Keep Alive = -1

To Reproduce set the Keep Alive setting to -1 then try autocomplete, you will get 400 error

Logging image

API Provider Provide : Ollama

Chat or Auto Complete? fim (auto-complete)?

Desktop (please complete the following information): Windows

rjmacarthy commented 4 months ago

Thanks for the report, I just fixed it in v3.11.37.