changelog
4.2.7 2026-09-24
Extension and twinny-server release: the completion model is loaded before you type, and the gateway shields secrets for every client.
- The completion model is loaded before you type. When VS Code starts or regains focus, twinny asks a local model server (Ollama, LM Studio, llama.cpp, or an OpenAI-compatible server on this machine) to load the autocomplete model, so the first completion no longer waits for it. With CodeLlama 7B on Ollama, the first completion went from 11 to 17 seconds to 0.06. Nothing is sent when the model has been used in the last four minutes, and hosted APIs are never called. Turn it off with
twinny.warmUpModel. - The gateway shields secrets too.
twinny-servernow swaps credentials in prompts for placeholders before a request reaches a backend, and puts them back in the reply, for every client (the extension, the TUI, Neovim). Set it withpolicy.secretShieldor on the admin page's Policy tab:offMachine(the default) covers hosted APIs, backends on other hosts and the team pool;alwaysadds backends on the gateway's own host;offforwards prompts as they arrive.