5 ms·
Too bad zed editor doesn't have code completion via custom LLM So far I am using zed editor and can't switch to somethints else untill zed editor gets the upda
by faangguyindia 2y ago
Too bad zed editor doesn't have code completion via custom LLM
So far I am using zed editor and can't switch to somethints else untill zed editor gets the update which support FIM directive via custom LLMs
- aargh_aargh 2y agoThis question keeps popping up but I don't get it. Everyone and their dog has an OpenAI-compatible API. Why not just serve a local LLM and put api.openai.com 127.0.0.1 in your hosts file?
- tbocek 2y agoThere is a difference between chat and code completion. While with chat, you can use localhost with llama.cpp, but code completion you cannot do that: https://github.com/zed-industries/zed/issues/12519 https://github.com/zed-industries/zed/issues/12519. The config for chat, you can do: "language_models": { "openai": { "version": "1", "api_url": "http://localhost:8080", "low_speed_timeout_in_seconds": 120, "available_models": [ { "provider": "openai", "name": "Qwen2.5-Coder-7B-Instruct-Q8_0.gguf", "display_name": "llama.cpp", "max_tokens": 131072 } ] } }, While for code completion, you have two choices atm: supermaven and copilot: https://zed.dev/docs/completions https://zed.dev/docs/completions.
- aargh_aargh 2y agoThank you, makes sense. I haven't used code completion yet.
- satvikpendem 2y agoYou could...switch editors? Why not do that until Zed gets that support?
- faangguyindia 2y agoZed is the best ai code editor with its editable context and super fast renders.
- satvikpendem 2y agoWell, clearly not since it doesn't have those features other editors have.