I've recently started using gptel and really like it, but the main feature I've wanted that it's missing is inline code completion (like GitHub Copilot). I saw that this was previously being [worked on](https://github.com/karthink/gptel/discussions/206) in the gptel repo but was paused, so I decided to give it a shot and made `gptel-autocomplete` (disclosure: most of it was written by Claude Sonnet 4).
It took some experimenting to get decent code completion results from a chat API that isn't built for standalone code completion responses, but I found some techniques that worked well (details in the README).
It took some experimenting to get decent code completion results from a chat API that isn't built for standalone code completion responses, but I found some techniques that worked well (details in the README).