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.36k stars 130 forks source link

Possibly my mistake, but I keep getting this error #198

Closed russsavagedentsu closed 3 months ago

russsavagedentsu commented 3 months ago

Describe the bug I am connecting to a local LM Studio instance running the API. I know this works because the Twinny chat completion is working.

But when I try code completion I get this error in LMStudio:

image

Do I have to set the prompt in twinny myself? In LMStudio? Thanks for help with a noob problem.

Expected behavior Code completion

rjmacarthy commented 3 months ago

Hello @russsavagedentsu, it was my fault, I broke it in previous release. I just pushed a fix in 3.10.12. Please could you let me know how you get on, I have tested it and it works.

Many thanks

russsavagedentsu commented 3 months ago

No worries, thanks!