zed
zed copied to clipboard
CoPilot should be decoupled from zed
Check for existing issues
- [X] Completed
Describe the feature
As of now, GitHub CoPilot is coupled into Zed. This makes Zed very opinionated about what AI tool for code to use instead of using some extension mechanism (I know this is WIP) to allow other alternatives such as Tabnine. This also aligns with your public roadmap about AI support in the editor - it will not require an OpenAI key but expose the requirement component.
I can help with integrating Tabnine if you need me.
This is related to https://github.com/zed-industries/zed/issues/4504 https://github.com/zed-industries/zed/issues/4726 and others
If applicable, add mockups / screenshots to help present your vision of the feature
No response
I think it would also be nice to have the option to use a locally run LLM, they're getting pretty good and do not rely on the internet.
https://github.com/ollama/ollama Could be a great candidate/target that provides common api to run local LLMs.
Also being discussed in #4424
Does Zed have a roadmap I can check for this FR?
There's now an InlineCompletionProvider trait that can be implemented in a PR to add more providers, like has been done for Supermaven.
I think this issue has been resolved. We now support multiple providers. Discussion (and 👍 voting) should be done in issues for each provider:
- https://github.com/zed-industries/zed/issues/4504
- https://github.com/zed-industries/zed/issues/4726
- https://github.com/zed-industries/zed/issues/11728
- https://github.com/zed-industries/zed/issues/8914
- https://github.com/zed-industries/zed/issues/4424 etc