3 ms·
that's cool. thanks. any chance you could open the changes you made?
by tuananh 2y ago
that's cool. thanks. any chance you could open the changes you made?
- elik3 2y agoI actually had a similar idea - and have a PR up on Zed right now to add in support for specifying a HTTP/HTTPS proxy to the copilot completion APIs: https://github.com/zed-industries/zed/pull/24364 https://github.com/zed-industries/zed/pull/24364 Branch is a bit out of date vs main now but it should work if you build off it. There are a couple of MITM proxies I've seen for this purpose, the first of which seems to be maintained: - https://github.com/bernardo-bruning/ollama-copilot/tree/master https://github.com/bernardo-bruning/ollama-copilot/tree/mast... - https://github.com/jjleng/copilot-proxy https://github.com/jjleng/copilot-proxy When I tried a few weeks back I was only able to get the latter to actually process requests, but haven't had a chance to look into it much further yet... first one's probably your best bet
- tuananh 2y agothank you. lemme take a look at that.