changelog

4.3.26 2026-11-30

Fixes to autocomplete. twinny-server gets the StarCoder2, DeepSeek and Mistral fixes too.

  • Closing brackets a suggestion needs are kept. With the cursor in foo(|), the suggestion bar(x) lost its last bracket, because the same one follows the cursor. Brackets the suggestion did not open are still dropped, so you don't get two.
  • Ollama no longer adds its template to a fill-in-the-middle prompt. StarCoder2's put extra tokens round twinny's finished prompt. A prompt that already has the model's markers is now sent with raw: true. A custom template without those markers still goes through the model's own template.
  • Mid-file completions on DeepSeek and Mistral send the text after the cursor as suffix, as their APIs expect, instead of inside the model's markers. This is the likely cause of empty suggestions anywhere but the end of a file (#588).
  • Dependencies updated: handlebars 4.7.10, fast-xml-parser 4.5.7 and form-data 4.0.6.