Replies: 3 comments 4 replies
-
I think it should work as long as you get llm-ls working. Make sure to specify the binary path (see readme). |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
So, I am not entirely sure how everything is stored in windows. If you use mason then that might be right and I guess mason should install the right version. I also faced this problem because I use aarch64 and the plugin doesn't automatically support it. Here is my lazy config that fixed it: {
"huggingface/llm.nvim",
opts = {
backend = "ollama",
model = "codellama:7b",
accept_keymap = "<S-CR>",
dismiss_keymap = "<CR>",
url = "http://localhost:11434/api/generate",
request_body = {
options = {
temperature = 0.2,
top_p = 0.95,
},
},
enable_suggestions_on_startup = false,
lsp = {
bin_path = vim.api.nvim_call_function("stdpath", { "data" }) .. "/mason/bin/llm-ls",
},
},
}, If it doesn't work then try to find the binary manually and put the direct hard coded path. |
Beta Was this translation helpful? Give feedback.
-
I really like this plugin. It works well with the neovim in Ubuntu. For Windows, I can install this plugin. However, when the neovim starts, there is a warning "arch or OS not supported for x86_64 Windows_NT", something like tat. After a little bit research, I found the code in the lua folder and it seems that Windows is not supported. Is this correct? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions